fix 主题启用国内加速

This commit is contained in:
ZJY 2021-09-19 18:45:25 +08:00
parent 3788a79aa4
commit 4a6643b1cf

View File

@ -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-plus/main/theme/admin.html"
models.Config.Theme = models.GhProxy + "https://ghproxy.com/https://raw.githubusercontent.com/764763903a/xdd-plus/main/theme/admin.html"
}
if theme != "" {
ctx.WriteString(theme)