|
@ -138,6 +138,7 @@ func setup() *web.Mux { |
|
|
mux.Post("/upload", uploadPostHandler) |
|
|
mux.Post("/upload", uploadPostHandler) |
|
|
mux.Post("/upload/", uploadPostHandler) |
|
|
mux.Post("/upload/", uploadPostHandler) |
|
|
mux.Put("/upload", uploadPutHandler) |
|
|
mux.Put("/upload", uploadPutHandler) |
|
|
|
|
|
mux.Put("/upload/", uploadPutHandler) |
|
|
mux.Put("/upload/:name", uploadPutHandler) |
|
|
mux.Put("/upload/:name", uploadPutHandler) |
|
|
|
|
|
|
|
|
mux.Delete("/:name", deleteHandler) |
|
|
mux.Delete("/:name", deleteHandler) |
|
|