From 7fe3b3cdbb18ff2bbfbf3f91a166d8d32ea0ea87 Mon Sep 17 00:00:00 2001 From: John Turner Date: Thu, 5 Mar 2026 01:01:39 -0500 Subject: stop tracking config.lua --- config.lua | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 config.lua diff --git a/config.lua b/config.lua deleted file mode 100644 index ea370a9..0000000 --- a/config.lua +++ /dev/null @@ -1,28 +0,0 @@ -http = {} - -http.bind = "localhost:8080" -http.root = "/tmp/www" - -http.handlers = {} - -http.handlers["GET"] = function(request) - if string.match(request.path, "^/lua") then - local payload = "hello world" - - return { - handler = "lua", - status = 200, - content = payload, - headers = { - ["content-type"] = "text/plain", - ["content-length"] = tostring(#payload) - } - } - else - return { - handler = "staticfile", - path = string.format("%s/%s", http.root, request.path), - mime = "text/plain" - } - end -end -- cgit v1.2.3