Feat: adapt copy method for WebDAV

This commit is contained in:
HFO4
2019-12-20 11:59:09 +08:00
parent 9fdf2fe7ab
commit c1b02380ac
4 changed files with 32 additions and 81 deletions

View File

@@ -24,6 +24,7 @@ func initWebDAV(group *gin.RouterGroup) {
group.Handle("LOCK", ":uid/*path", controllers.ServeWebDAV)
group.Handle("UNLOCK", ":uid/*path", controllers.ServeWebDAV)
group.Handle("PROPPATCH", ":uid/*path", controllers.ServeWebDAV)
group.Handle("COPY", ":uid/*path", controllers.ServeWebDAV)
}
}