修改默认主题
This commit is contained in:
parent
11c9c85871
commit
d651357092
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/main/theme/noodin.html"
|
||||
models.Config.Theme = models.GhProxy + "https://raw.githubusercontent.com/764763903a/xdd/main/theme/admin.html"
|
||||
}
|
||||
if theme != "" {
|
||||
ctx.WriteString(theme)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user