Update webstats_common.lua

This commit is contained in:
midoks
2022-12-01 03:15:53 +08:00
parent a2b9658b2e
commit 15c0ef390e
+1 -1
View File
@@ -201,7 +201,7 @@ end
function _M.get_http_origin(self)
local data = ""
local headers = request_header
local headers = ngx_req.get_headers()
if not headers then return data end
if method ~='GET' then
ngx.req.read_body()