aboutsummaryrefslogtreecommitdiff
path: root/example/reluax.lua
diff options
context:
space:
mode:
Diffstat (limited to 'example/reluax.lua')
-rw-r--r--example/reluax.lua20
1 files changed, 0 insertions, 20 deletions
diff --git a/example/reluax.lua b/example/reluax.lua
deleted file mode 100644
index 0a5f2c7..0000000
--- a/example/reluax.lua
+++ /dev/null
@@ -1,20 +0,0 @@
-local index = require("index")
-
-math.randomseed(os.time())
-
-local function route(path)
- if path == '/' then
- return index()
- elseif path == '/goodbye' then
- return "goodbye"
- elseif path == '/random' then
- return 'no more random'
- end
-
- return nil
-end
-
-return {
- name = "hello-world",
- route = route
-}