Fix weblit.
This commit is contained in:
parent
fae23bca06
commit
fbde58f205
8 changed files with 266 additions and 81 deletions
|
@ -112,9 +112,6 @@ utils.is_valid_password = function(password)
|
|||
end
|
||||
|
||||
utils.cookies = function(req, res, go)
|
||||
req.path = req.path:gsub("/+$", "")
|
||||
if req.path == "" then req.path = "/" end
|
||||
|
||||
req.content_type = nil
|
||||
req.cookies = {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue