fix(download): add POST as an allowed download method for frontend
build / Go-Build (push) Successful in 1m25s
build / Go-Build (push) Successful in 1m25s
This commit is contained in:
@@ -30,7 +30,7 @@ func PrepareHTTP() {
|
||||
})
|
||||
registerAuthorizedFunc("/svg/{id}", func(w http.ResponseWriter, r *http.Request) {
|
||||
switch r.Method {
|
||||
case "GET":
|
||||
case "GET", "POST":
|
||||
routes.DownloadSVG(w, r)
|
||||
return
|
||||
case "DELETE":
|
||||
|
||||
Reference in New Issue
Block a user