diff options
Diffstat (limited to 'server.lua')
-rw-r--r-- | server.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -118,11 +118,11 @@ return function(env) function() if stringy.startswith(path, '/meta/') then if method ~= 'GET' then return 405 end - return 200, nil, txn:meta(string.sub(path, 6, -1)) + return 200, nil, txn:meta(path:sub(6, -1)) end if stringy.startswith(path, '/config/') then - path = string.sub(path, 8, -1) + path = path:sub(8, -1) local parent, name, res if path ~= '/' then |