feat: load storages while starting
This commit is contained in:
@ -14,6 +14,7 @@ import (
|
||||
func Init(r *gin.Engine) {
|
||||
common.SecretKey = []byte(conf.Conf.JwtSecret)
|
||||
Cors(r)
|
||||
r.Use(middlewares.StoragesLoaded)
|
||||
WebDav(r)
|
||||
|
||||
r.GET("/d/*path", middlewares.Down, handles.Down)
|
||||
|
Reference in New Issue
Block a user