diff options
author | elioat <elioat@tilde.institute> | 2024-06-05 21:15:07 -0400 |
---|---|---|
committer | elioat <elioat@tilde.institute> | 2024-06-05 21:15:07 -0400 |
commit | 969f1d142a5d5589f0336086777b69dcc75b9018 (patch) | |
tree | ef9dc0d279d005def7f576b31a1f74e9b8b152e0 /lua/sandborb | |
parent | aa5a5558856b1e8fa73db0d747d95e143a613c76 (diff) | |
download | tour-969f1d142a5d5589f0336086777b69dcc75b9018.tar.gz |
*
Diffstat (limited to 'lua/sandborb')
-rw-r--r-- | lua/sandborb/route_handler.lua | 2 |
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) |