fix(upload): add missing return
All checks were successful
build / Go-Build (push) Successful in 25s

This commit is contained in:
2026-02-03 01:06:23 +01:00
parent 331064839d
commit 08a7d8eebe

View File

@@ -16,6 +16,7 @@ func PrepareHTTP() {
registerAuthorized("/svg/", func(w http.ResponseWriter, r *http.Request) { registerAuthorized("/svg/", func(w http.ResponseWriter, r *http.Request) {
if r.Method != "POST" { if r.Method != "POST" {
http.Error(w, "Method not allowed", http.StatusMethodNotAllowed) http.Error(w, "Method not allowed", http.StatusMethodNotAllowed)
return
} }
routes.CreateSVG(w, *r) routes.CreateSVG(w, *r)
}) })