From 0d34caebe4cc5283f16e6137fd6f197171603446 Mon Sep 17 00:00:00 2001 From: TudbuT Date: Sun, 13 Oct 2024 19:19:45 +0200 Subject: [PATCH] fix some formatting --- SimpleServer/server.spl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SimpleServer/server.spl b/SimpleServer/server.spl index 43bcbb3..6e38458 100644 --- a/SimpleServer/server.spl +++ b/SimpleServer/server.spl @@ -1,6 +1,7 @@ "#httpserver/base.spl" import "#httpserver/static.spl" import + use net:http:Server construct Latest { @@ -52,7 +53,7 @@ func main { exitcode | with args ; } } -func handle-client { | with client ; +func handle-client { | with client ; client:read; "index.html" "/" client:serve-html-cached;