mirror of
https://github.com/AlistGo/alist.git
synced 2025-05-28 11:03:20 +08:00
🐛 fix initialization sequence
This commit is contained in:
@ -27,7 +27,7 @@ func InitIndex() {
|
||||
}
|
||||
|
||||
func Static(r *gin.Engine) {
|
||||
InitIndex()
|
||||
//InitIndex()
|
||||
assets, err := fs.Sub(public.Public, "assets")
|
||||
if err != nil {
|
||||
log.Fatalf("can't find assets folder")
|
||||
|
Reference in New Issue
Block a user