fix: 修复服务端请求head返回404的问题

This commit is contained in:
539943419 committed 2025-02-11 12:00:45 +08:00
1 parent 081b724513
commit 81360c377c
2 files changed
+7

No files matched your search

+1
View File
@@ -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))