fix: delete tz rainbond (#1938)

Signed-off-by: 张启航 <101104760+ZhangSetSail@users.noreply.github.com>
This commit is contained in:
张启航 2024-06-13 15:08:37 +08:00 committed by GitHub
parent af4ec533cd
commit ca832602a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 8 deletions

View File

@ -267,12 +267,7 @@ local _M = {
function _M.call()
ngx.header["Content-type"] = "text/html"
local html = ""
if (os.getenv("DISABLE_POWER") == "true")
then
html = string.gsub(_M.defaultHTML, "POWER", "", 1)
else
html = string.gsub(_M.defaultHTML, "POWER", [[<p class="text2" id="power">Power By <a href="https://www.rainbond.com" target="_blank" rel="noopener noreferrer">Rainbond</a></p>]],1)
end
html = string.gsub(_M.defaultHTML, "POWER", "", 1)
ngx.print(html)
end

View File

@ -241,7 +241,7 @@
<body>
<div class="content">
<p class="text">您的应用正在准备中,请稍等一会儿</p>
<p class="text">404 page not found</p>
<a class="link" onclick="javascript:myrefresh();" style="cursor:pointer;">刷 新</a>
<div class="loader">
<div class="loader-inner pacman">
@ -252,7 +252,6 @@
<div></div>
</div>
</div>
<p class="text2">Power By <a href="https://www.rainbond.com" target="_blank" rel="noopener noreferrer">Rainbond</a></p>
</div>
</body>