about summary refs log tree commit diff stats
path: root/lua
diff options
context:
space:
mode:
authorelioat <elioat@tilde.institute>2024-06-05 21:15:07 -0400
committerelioat <elioat@tilde.institute>2024-06-05 21:15:07 -0400
commit969f1d142a5d5589f0336086777b69dcc75b9018 (patch)
treeef9dc0d279d005def7f576b31a1f74e9b8b152e0 /lua
parentaa5a5558856b1e8fa73db0d747d95e143a613c76 (diff)
downloadtour-969f1d142a5d5589f0336086777b69dcc75b9018.tar.gz
*
Diffstat (limited to 'lua')
-rw-r--r--lua/sandborb/route_handler.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/sandborb/route_handler.lua b/lua/sandborb/route_handler.lua
index 98ece1d..ae69875 100644
--- a/lua/sandborb/route_handler.lua
+++ b/lua/sandborb/route_handler.lua
@@ -25,7 +25,7 @@ function HANDLE_ROUTE(e, path)
     return "Hello, you are at the root!"
   elseif path == "/about" then
     sb_send_status(e, 200, "OK")
-    sb_send_header(e, "Content-Type", "text/text")  
+    sb_send_header(e, "Content-Type", "text/plain")  
     return "This is the about page!"
   elseif path == "/banana" then
     return banana(e)