fixed Lua Runtime. Plugins now have priority for hooks and POST for routes if requested. also changed the CSS for main.css to color #1e1e1e for darkmode body
This commit is contained in:
4
lua/plugins/examples/demo/demo_route.lua
Normal file
4
lua/plugins/examples/demo/demo_route.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
add_route("/lua/test", function (req)
|
||||
log("demo_route handling request for =>" .. (req.path or "unknown"))
|
||||
return 200, {["Content-Type"] = "text/html"}, "<h1>Hello!</h1>"
|
||||
end)
|
||||
Reference in New Issue
Block a user