diff --git a/hack/contrib/docker/gateway/nginx/lua/defaultPage.lua b/hack/contrib/docker/gateway/nginx/lua/defaultPage.lua index 00787d88c..1bfa435d9 100644 --- a/hack/contrib/docker/gateway/nginx/lua/defaultPage.lua +++ b/hack/contrib/docker/gateway/nginx/lua/defaultPage.lua @@ -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", [[

Power By Rainbond

]],1) - end + html = string.gsub(_M.defaultHTML, "POWER", "", 1) ngx.print(html) end diff --git a/hack/contrib/docker/gateway/nginx/lua/html/default.html b/hack/contrib/docker/gateway/nginx/lua/html/default.html index 591078c50..6ce153de9 100644 --- a/hack/contrib/docker/gateway/nginx/lua/html/default.html +++ b/hack/contrib/docker/gateway/nginx/lua/html/default.html @@ -241,7 +241,7 @@
-

您的应用正在准备中,请稍等一会儿

+

404 page not found

刷 新
@@ -252,7 +252,6 @@
-

Power By Rainbond