From 0cc1ef7105964645500e1113be908fdc50e9d89c Mon Sep 17 00:00:00 2001 From: Stanisław Zagórowski Date: Fri, 19 Jan 2024 23:17:28 +0100 Subject: example: add basic, move hello world into its own dir --- example/reluax.luax | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 example/reluax.luax (limited to 'example/reluax.luax') 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, - - Error 404 - - -

Error 404

-

Page not found.

- - -end - -return { - name = "hello-world", - route = route -} -- cgit v1.3.1