diff --git a/internal/server/http.go b/internal/server/http.go index a03b813..549e339 100644 --- a/internal/server/http.go +++ b/internal/server/http.go @@ -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":