From a2a77d0852a74da4a56ef093a72acdb5d550496e Mon Sep 17 00:00:00 2001 From: lanrenwo Date: Sat, 8 Oct 2022 15:22:05 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=98=E8=AE=A4=E6=98=BE=E7=A4=BAAnyLink?= =?UTF-8?q?=E7=9A=84=E6=96=87=E5=AD=97=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 旧版本升级后,页面显示空白。 --- server/handler/link_home.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/handler/link_home.go b/server/handler/link_home.go index 9e874f2..9669d26 100644 --- a/server/handler/link_home.go +++ b/server/handler/link_home.go @@ -23,8 +23,10 @@ func LinkHome(w http.ResponseWriter, r *http.Request) { index := &dbdata.SettingOther{} dbdata.SettingGet(index) w.WriteHeader(http.StatusOK) + if index.Homeindex == "" { + index.Homeindex = "AnyLink 是一个企业级远程办公 SSL VPN 软件,可以支持多人同时在线使用。" + } fmt.Fprintln(w, index.Homeindex) - // fmt.Fprintln(w, "AnyLink 是一个企业级远程办公 sslvpn 的软件,可以支持多人同时在线使用。") } func LinkOtpQr(w http.ResponseWriter, r *http.Request) {