Fix weblit.

This commit is contained in:
n* 2025-03-06 19:34:12 -03:00
parent fae23bca06
commit fbde58f205
8 changed files with 266 additions and 81 deletions

View file

@ -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 = {}