mirror of
https://gitgud.io/fatchan/haproxy-protection.git
synced 2025-05-09 02:05:37 +00:00
default to empty string if nil map lookup in css map
This commit is contained in:
@ -128,7 +128,7 @@ function _M.view(applet)
|
|||||||
local ls = locales_strings[lang]
|
local ls = locales_strings[lang]
|
||||||
|
|
||||||
-- get any custom css
|
-- get any custom css
|
||||||
local css_val = css_map:lookup(host)
|
local css_val = css_map:lookup(host) or ""
|
||||||
|
|
||||||
-- set response body and declare status code
|
-- set response body and declare status code
|
||||||
local response_body = ""
|
local response_body = ""
|
||||||
|
Reference in New Issue
Block a user