moved the files around added demo examples and fixed a bunch of stuff!
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
-- hello.lua
|
||||
add_route("/lua/hello", function(req)
|
||||
log("hello.lua handling request for " .. (req.path or "unknown"))
|
||||
-- return (status, headers_table, body_string)
|
||||
return 200, {["Content-Type"] = "text/html"}, "<h1>Hello from Lua plugin!</h1>"
|
||||
end)
|
||||
Reference in New Issue
Block a user