fix 主题启用国内加速
This commit is contained in:
parent
3788a79aa4
commit
4a6643b1cf
2
main.go
2
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-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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user