mirror of
https://github.com/AlistGo/alist.git
synced 2025-06-02 15:35:20 +08:00
feat: webdav handle
This commit is contained in:
@ -12,6 +12,7 @@ import (
|
||||
func Init(r *gin.Engine) {
|
||||
common.SecretKey = []byte(conf.Conf.JwtSecret)
|
||||
Cors(r)
|
||||
WebDav(r)
|
||||
|
||||
r.GET("/d/*path", middlewares.Down, controllers.Down)
|
||||
r.GET("/p/*path", middlewares.Down, controllers.Proxy)
|
||||
|
Reference in New Issue
Block a user