mirror of
https://github.com/ZizzyDizzyMC/linx-server.git
synced 2026-01-23 02:14:33 +00:00
Allow /upload/ for PUT requests without filename
This commit is contained in:
parent
120909ce46
commit
0d365409d0
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue