|
@ -26,7 +26,7 @@ return { |
|
|
run = function(fcgi) |
|
|
run = function(fcgi) |
|
|
fcgi.print("Content-Type: text/html; charset=utf-8\r\n\r\n") |
|
|
fcgi.print("Content-Type: text/html; charset=utf-8\r\n\r\n") |
|
|
local data = nil |
|
|
local data = nil |
|
|
if fcgi.getenv("REQUEST_METHOD") == "POST" |
|
|
|
|
|
|
|
|
if fcgi.getenv("REQUEST_METHOD") == "POST" then |
|
|
data = fcgi.post() |
|
|
data = fcgi.post() |
|
|
end |
|
|
end |
|
|
form({data = data}) |
|
|
form({data = data}) |
|
|