Media Upload Fix

This commit is contained in:
SirBlob committed 2026-02-22 13:44:39 -05:00
1 parent 3b4d5e4080
commit 3c669c7e26
3 files changed
+119 -41

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ func (rt *Router) UploadSimulationResource(w http.ResponseWriter, r *http.Reques
return
}
err = r.ParseMultipartForm(500 << 20) // 500 MB max memory/file bounds
err = r.ParseMultipartForm(32 << 20) // 32 MB max memory bounds, rest spills to disk
if err != nil {
http.Error(w, "Error parsing form: "+err.Error(), http.StatusBadRequest)
return