fix: 修复服务端请求head返回404的问题
This commit is contained in:
1 parent
081b724513
commit
81360c377c
2 files changed
+7
No files matched your search
@@ -31,6 +31,7 @@ func main() {
|
||||
|
||||
router.GET("/query", api.QueryHandler(fsOperateEventCenter))
|
||||
router.GET("/get/*path", api.GetHandler)
|
||||
router.HEAD("/get/*path", api.GetHandler)
|
||||
router.POST("/mkdir/*path", api.MkdirHandler)
|
||||
router.POST("/upload/*path", api.UploadHandler)
|
||||
router.POST("/cut/*path", api.CutHandler(fsOperateEventCenter))
|
||||
|
||||
Reference in new issue
Block a user