diff --git a/core/api.go b/core/api.go index 6dc17aa..6aeda99 100644 --- a/core/api.go +++ b/core/api.go @@ -414,6 +414,8 @@ func (mg *Maingate) api(w http.ResponseWriter, r *http.Request) { r.Body.Close() }() + r.ParseMultipartForm(32 << 20) + var userinfo map[string]any if !*devflag {