mirror of
https://github.com/AlistGo/alist.git
synced 2025-05-31 13:25:49 +08:00
🔧 change default cdn
This commit is contained in:
@ -21,7 +21,7 @@ func InitIndex() {
|
||||
// index, err = public.Public.Open("index.html")
|
||||
//}
|
||||
if conf.Conf.Assets == "" {
|
||||
conf.Conf.Assets = "jsdelivr"
|
||||
conf.Conf.Assets = conf.DefaultConfig().Assets
|
||||
}
|
||||
index, err = public.Public.Open(fmt.Sprintf("%s.html", conf.Conf.Assets))
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user