Update webstats_common.lua

pull/282/head
midoks 2 years ago
parent 15c0ef390e
commit a4dfe26254
  1. 2
      plugins/webstats/lua/webstats_common.lua

@ -201,7 +201,7 @@ end
function _M.get_http_origin(self)
local data = ""
local headers = ngx_req.get_headers()
local headers = ngx.req.get_headers()
if not headers then return data end
if method ~='GET' then
ngx.req.read_body()

Loading…
Cancel
Save