diff options
Diffstat (limited to 'server.lua')
-rw-r--r-- | server.lua | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -110,6 +110,11 @@ return function(env) local success, code, hdr, res = acf.call( function() + if stringy.startswith(path, '/meta/') then + if method ~= 'GET' then return 405 end + return 200, nil, txn:meta(string.sub(path, 6, -1)) + end + if stringy.startswith(path, '/config/') then path = string.sub(path, 8, -1) |