mirror of
https://github.com/bjdgyc/anylink.git
synced 2025-08-08 12:24:30 +08:00
默认显示AnyLink的文字信息
旧版本升级后,页面显示空白。
This commit is contained in:
@@ -23,8 +23,10 @@ func LinkHome(w http.ResponseWriter, r *http.Request) {
|
|||||||
index := &dbdata.SettingOther{}
|
index := &dbdata.SettingOther{}
|
||||||
dbdata.SettingGet(index)
|
dbdata.SettingGet(index)
|
||||||
w.WriteHeader(http.StatusOK)
|
w.WriteHeader(http.StatusOK)
|
||||||
|
if index.Homeindex == "" {
|
||||||
|
index.Homeindex = "AnyLink 是一个企业级远程办公 SSL VPN 软件,可以支持多人同时在线使用。"
|
||||||
|
}
|
||||||
fmt.Fprintln(w, index.Homeindex)
|
fmt.Fprintln(w, index.Homeindex)
|
||||||
// fmt.Fprintln(w, "AnyLink 是一个企业级远程办公 sslvpn 的软件,可以支持多人同时在线使用。")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func LinkOtpQr(w http.ResponseWriter, r *http.Request) {
|
func LinkOtpQr(w http.ResponseWriter, r *http.Request) {
|
||||||
|
Reference in New Issue
Block a user