mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Fix condition in helpers.lua
This commit is contained in:
parent
ab509c2705
commit
da4bb8dce6
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ helpers.fill_ctx = function()
|
|||
local data = {}
|
||||
-- Common vars
|
||||
data.kind = "http"
|
||||
if not ngx.shared.datastore_stream then
|
||||
if ngx.shared.datastore_stream then
|
||||
data.kind = "stream"
|
||||
end
|
||||
data.remote_addr = ngx.var.remote_addr
|
||||
|
|
|
|||
Loading…
Reference in a new issue