feat: add 189cloud driver

This commit is contained in:
Noah Hsu
2022-09-06 14:39:21 +08:00
parent 534d8d30fc
commit a24dfddc2a
19 changed files with 916 additions and 25 deletions

View File

@ -24,8 +24,7 @@ func init() {
}
}
func WebDav(r *gin.Engine) {
dav := r.Group("/dav")
func WebDav(dav *gin.RouterGroup) {
dav.Use(WebDAVAuth)
dav.Any("/*path", ServeWebDAV)
dav.Any("", ServeWebDAV)