FaF - Ws
What does this mean? Fast as Fuck WebServer. Now we compress and cache like hell. so its fast as fuck. 1 new requirement which isnt too bad: Pillow, for images! Clear cache and restart the server!
This commit is contained in:
7
lua/plugins/examples/post.lua
Normal file
7
lua/plugins/examples/post.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
add_post_route("/lua/post", function(req)
|
||||
local data = req.data or {}
|
||||
log("Data received from " .. tostring(data))
|
||||
return 200,
|
||||
{["Content-Type"] = "application/text"},
|
||||
tostring(data)
|
||||
end)
|
||||
Reference in New Issue
Block a user