diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-04-06 13:40:17 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-04-06 13:40:17 -0400 |
| commit | 59845e610f2c90474f34079d27b5f1e07071ded4 (patch) | |
| tree | 1066ab6c5c6e6620adda6ac4575703b9d4bf0a0a /examples/http-server | |
| parent | 95633b1cc2da5294d9aec8c7eb9fca9a15c1a8bf (diff) | |
Deprecate `!!` print statement
Diffstat (limited to 'examples/http-server')
| -rw-r--r-- | examples/http-server/http-server.tm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/http-server/http-server.tm b/examples/http-server/http-server.tm index 56ba3683..1a09b601 100644 --- a/examples/http-server/http-server.tm +++ b/examples/http-server/http-server.tm @@ -138,7 +138,7 @@ func load_routes(directory:Path -> {Text=RouteEntry}): func main(directory:Path, port=Int32(8080)): say("Serving on port $port") routes := load_routes(directory) - !! Hosting: $routes + say(" Hosting: $routes") serve(port, func(request:HTTPRequest): if handler := routes[request.path]: |
