update 04-04 20:36

This commit is contained in:
github-actions[bot] 2022-04-04 20:36:15 +08:00
parent 125f9ab3a5
commit d6471ba77c
2 changed files with 1 additions and 1 deletions

0
luci-app-mosdns/po/zh-cn/mosdns.po Executable file → Normal file
View File

View File

@ -71,7 +71,7 @@ function istore_backend()
input[#input+1] = "X-Forwarded-Token: " .. sdat.token
end
end
input[#input+1] = "X-Forwarded-For: " .. http.getenv("REMOTE_HOST") ..":".. http.getenv("REMOTE_PORT")
-- input[#input+1] = "X-Forwarded-For: " .. http.getenv("REMOTE_HOST") ..":".. http.getenv("REMOTE_PORT")
local num = tonumber(http.getenv("CONTENT_LENGTH")) or 0
input[#input+1] = "Content-Length: " .. tostring(num)
input[#input+1] = "\r\n"