diff options
Diffstat (limited to 'config.lua')
| -rw-r--r-- | config.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/config.lua b/config.lua new file mode 100644 index 0000000..6ca8ff5 --- /dev/null +++ b/config.lua @@ -0,0 +1,13 @@ +http = {} + +http.bind = "localhost:8080" + +http.handlers = {} + +http.handlers["GET"] = function(request) + return { + handler = "staticfile", + path = "/tmp/foo.txt", + mime = "text/plain" + } +end |
