fix(download): add POST as an allowed download method for frontend
build / Go-Build (push) Successful in 1m25s

This commit is contained in:
2026-05-26 01:20:16 +02:00
parent d891321780
commit 0277fcfdbc
+1 -1
View File
@@ -30,7 +30,7 @@ func PrepareHTTP() {
}) })
registerAuthorizedFunc("/svg/{id}", func(w http.ResponseWriter, r *http.Request) { registerAuthorizedFunc("/svg/{id}", func(w http.ResponseWriter, r *http.Request) {
switch r.Method { switch r.Method {
case "GET": case "GET", "POST":
routes.DownloadSVG(w, r) routes.DownloadSVG(w, r)
return return
case "DELETE": case "DELETE":