diff options
| author | Stanisław Zagórowski <hasohasacz@gmail.com> | 2024-01-11 17:04:12 +0100 |
|---|---|---|
| committer | Stanisław Zagórowski <hasohasacz@gmail.com> | 2024-01-11 17:04:12 +0100 |
| commit | 0de7d2f2cc1856d01e810c76058d3c5f685a24af (patch) | |
| tree | 99ec50ef588a1c4c8e5ec4257ee5b7ef139019cb /example | |
| parent | f45abfdf2150d8136e3da48e1daba5473030c0be (diff) | |
status codes
Diffstat (limited to 'example')
| -rw-r--r-- | example/reluax.luax | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/example/reluax.luax b/example/reluax.luax index a343826..2562fb1 100644 --- a/example/reluax.luax +++ b/example/reluax.luax @@ -4,10 +4,10 @@ math.randomseed(os.time()) local function route(path) if path == '/' then - return index() + return 200, index() end - return <html> + return 404, <html> <head> <title>Error 404</title> </head> |
