aboutsummaryrefslogtreecommitdiff
path: root/example/reluax.luax
diff options
context:
space:
mode:
Diffstat (limited to 'example/reluax.luax')
-rw-r--r--example/reluax.luax24
1 files changed, 0 insertions, 24 deletions
diff --git a/example/reluax.luax b/example/reluax.luax
deleted file mode 100644
index 2562fb1..0000000
--- a/example/reluax.luax
+++ /dev/null
@@ -1,24 +0,0 @@
-local index = require("index")
-
-math.randomseed(os.time())
-
-local function route(path)
- if path == '/' then
- return 200, index()
- end
-
- return 404, <html>
- <head>
- <title>Error 404</title>
- </head>
- <body>
- <h1>Error 404</h1>
- <p>Page not found.</p>
- </body>
- </html>
-end
-
-return {
- name = "hello-world",
- route = route
-}