diff options
| author | Stanisław Zagórowski <hasohasacz@gmail.com> | 2024-01-11 15:29:25 +0100 |
|---|---|---|
| committer | Stanisław Zagórowski <hasohasacz@gmail.com> | 2024-01-11 15:29:25 +0100 |
| commit | 8d9e00edacbc061ec5efba100e2af71be6824af8 (patch) | |
| tree | 3f03f5a11a3a4e1ee804bc4b55e29a867a9db563 /example/reluax.lua | |
| parent | 343bcfdfaaba32b7a46e1a945a4538e72d166ea8 (diff) | |
luax
Diffstat (limited to 'example/reluax.lua')
| -rw-r--r-- | example/reluax.lua | 20 |
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 -} |
