aboutsummaryrefslogtreecommitdiff
path: root/examples/http-server/http-server.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-04-06 13:40:17 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-04-06 13:40:17 -0400
commit59845e610f2c90474f34079d27b5f1e07071ded4 (patch)
tree1066ab6c5c6e6620adda6ac4575703b9d4bf0a0a /examples/http-server/http-server.tm
parent95633b1cc2da5294d9aec8c7eb9fca9a15c1a8bf (diff)
Deprecate `!!` print statement
Diffstat (limited to 'examples/http-server/http-server.tm')
-rw-r--r--examples/http-server/http-server.tm2
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]: