summaryrefslogtreecommitdiffstats
path: root/server.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server.lua')
-rw-r--r--server.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.lua b/server.lua
index 9a17c44..83b8969 100644
--- a/server.lua
+++ b/server.lua
@@ -22,7 +22,7 @@ local sessions = {}
return function(env)
local method = env.REQUEST_METHOD
- local path = env.REQUEST_URI
+ local path = env.PATH_INFO
local function wrap(code, headers, res, encode)
if not headers then headers = {} end