Update obf.lua

This commit is contained in:
dami
2025-12-05 15:26:37 +08:00
parent b6ffe579e0
commit 39109ae40b
+1 -4
View File
@@ -136,10 +136,7 @@ function _M.obf_html()
local key_data = util.to_uint8array(key or "")
local html_data = tpl.content(content_data, iv_data, tag_data, key_data,html_debug)
local var_rand = ngx.var.obf_rand
if var_rand ~= "false" then
html_data = util.obf_add_data(html_data)
end
html_data = util.obf_add_data(html_data)
if obf_cache then
obf_cache:set(cache_key, html_data, cache_timeout)