aboutsummaryrefslogtreecommitdiff
path: root/example/reluax.luax
diff options
context:
space:
mode:
Diffstat (limited to 'example/reluax.luax')
-rw-r--r--example/reluax.luax4
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>