diff --git a/scripts/lib/upt.lua b/scripts/lib/upt.lua index e9a97e9..349385f 100644 --- a/scripts/lib/upt.lua +++ b/scripts/lib/upt.lua @@ -19,8 +19,8 @@ function _M.upt(url) if string.find(hostname, "moicen.com") then ngx.log(ngx.INFO, 'match moicen.com: ' .. ngx.var.upt_moicen_secret) secret = ngx.var.upt_moicen_secret - elseif string.find(hostname, "alchemy-studio.cn") then - ngx.log(ngx.INFO, 'match alchemy-studio.cn: ' .. ngx.var.upt_alchemy_secret) + elseif string.find(hostname, "alchemy") then + ngx.log(ngx.INFO, 'match alchemy: ' .. ngx.var.upt_alchemy_secret) secret = ngx.var.upt_alchemy_secret elseif string.find(hostname, "huiwings.cn") then ngx.log(ngx.INFO, 'match huiwings.cn: ' .. ngx.var.upt_huiwings_secret)