diff --git a/server.go b/server.go index e2fac73..739aefb 100644 --- a/server.go +++ b/server.go @@ -138,6 +138,7 @@ func setup() *web.Mux { mux.Post("/upload", uploadPostHandler) mux.Post("/upload/", uploadPostHandler) mux.Put("/upload", uploadPutHandler) + mux.Put("/upload/", uploadPutHandler) mux.Put("/upload/:name", uploadPutHandler) mux.Delete("/:name", deleteHandler)