diff --git a/main.go b/main.go index 9c0c610..4cd099b 100644 --- a/main.go +++ b/main.go @@ -27,7 +27,7 @@ func main() { }) web.Get("/", func(ctx *context.Context) { if models.Config.Theme == "" { - models.Config.Theme = models.GhProxy + "https://raw.githubusercontent.com/764763903a/xdd/main/theme/admin.html" + models.Config.Theme = models.GhProxy + "https://raw.githubusercontent.com/764763903a/xdd-plus/main/theme/admin.html" } if theme != "" { ctx.WriteString(theme) diff --git a/models/config.go b/models/config.go index f14574e..ef158d9 100644 --- a/models/config.go +++ b/models/config.go @@ -61,7 +61,7 @@ func initConfig() { s, _ := ioutil.ReadAll(f) if len(s) == 0 { logs.Info("下载配置%s", name) - r, err := httplib.Get(GhProxy + "https://raw.githubusercontent.com/764763903a/xdd/main/conf/demo_" + name).Response() + r, err := httplib.Get(GhProxy + "https://raw.githubusercontent.com/764763903a/xdd-plus/main/conf/demo_" + name).Response() if err == nil { io.Copy(f, r.Body) } diff --git a/models/ua.go b/models/ua.go index 7c158cc..3f043dc 100644 --- a/models/ua.go +++ b/models/ua.go @@ -25,7 +25,7 @@ func initUserAgent() { } else { logs.Info("更新User-Agent") var err error - ua, err = httplib.Get(GhProxy + "https://raw.githubusercontent.com/764763903a/xdd/main/ua.txt").String() + ua, err = httplib.Get(GhProxy + "https://raw.githubusercontent.com/764763903a/xdd-plus/main/ua.txt").String() if err != nil { logs.Info("更新User-Agent失败") } diff --git a/models/version.go b/models/version.go index 03f28a9..fc839ff 100644 --- a/models/version.go +++ b/models/version.go @@ -21,7 +21,7 @@ func initVersion() { version = Config.Version } logs.Info("检查更新" + version) - value, err := httplib.Get(GhProxy + "https://raw.githubusercontent.com/764763903a/xdd/main/models/version.go").String() + value, err := httplib.Get(GhProxy + "https://raw.githubusercontent.com/764763903a/xdd-plus/main/models/version.go").String() if err != nil { logs.Info("更新版本的失败") } else { diff --git a/theme/bidong.html b/theme/bidong.html index ee4d5da..9d3c518 100644 --- a/theme/bidong.html +++ b/theme/bidong.html @@ -78,7 +78,7 @@ var timer; var qrcode = document.getElementById("qrcode") var loginUrl = "" - var success = "https://ghproxy.com/https://raw.githubusercontent.com/764763903a/xdd/main/static/ok.svg"; + var success = "https://ghproxy.com/https://raw.githubusercontent.com/764763903a/xdd-plus/main/static/ok.svg"; var jumpapp = document.getElementById('jumpapp') var hd = document.getElementById("hd") diff --git a/theme/kuduan.html b/theme/kuduan.html index da3fe17..d443c9e 100644 --- a/theme/kuduan.html +++ b/theme/kuduan.html @@ -79,7 +79,7 @@ var timer; var qrcode = document.getElementById("qrcode") var loginUrl = "" - var success = "https://ghproxy.com/https://raw.githubusercontent.com/764763903a/xdd/main/static/ok.svg"; + var success = "https://ghproxy.com/https://raw.githubusercontent.com/764763903a/xdd-plus/main/static/ok.svg"; var jumpapp = document.getElementById('jumpapp') var hd = document.getElementById("hd") function GetQrCode() { diff --git a/theme/noodin.html b/theme/noodin.html index e9089e9..cd768e6 100644 --- a/theme/noodin.html +++ b/theme/noodin.html @@ -90,7 +90,7 @@ var timer; var qrcode = document.getElementById("qrcode") var loginUrl = "" - var success = "https://ghproxy.com/https://raw.githubusercontent.com/764763903a/xdd/main/static/ok.svg"; + var success = "https://ghproxy.com/https://raw.githubusercontent.com/764763903a/xdd-plus/main/static/ok.svg"; var jumpapp = document.getElementById('jumpapp') var hd = document.getElementById("hd") function showQrcode() { diff --git a/theme/summer.html b/theme/summer.html index ff278ca..cf35dcb 100644 --- a/theme/summer.html +++ b/theme/summer.html @@ -91,7 +91,7 @@ var timer; var qrcode = document.getElementById("qrcode") var loginUrl = "" - var success = "https://ghproxy.com/https://raw.githubusercontent.com/764763903a/xdd/main/static/ok.svg"; + var success = "https://ghproxy.com/https://raw.githubusercontent.com/764763903a/xdd-plus/main/static/ok.svg"; var jumpapp = document.getElementById('jumpapp') var hd = document.getElementById("hd")