Skip to content
This repository was archived by the owner on Mar 23, 2023. It is now read-only.

Commit dffba4a

Browse files
committed
fix: server router
1 parent 0ff81a8 commit dffba4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/server.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ func (s *Server) registerRoutes(app *fiber.App) {
9393
v0.Post("/", s.handlePut)
9494
v0.Put("/:name", s.handlePut)
9595

96-
app.Post("/", s.handlePut)
97-
app.Put("/:name", s.handlePut)
96+
// app.Post("/", s.handlePut)
97+
// app.Put("/:name", s.handlePut)
9898

9999
app.Get("/:cid/raw/:file", s.handleCat)
100100

0 commit comments

Comments
 (0)