diff --git a/internal/handlers/public/routes.go b/internal/handlers/public/routes.go index 1aa6cc7..a146202 100644 --- a/internal/handlers/public/routes.go +++ b/internal/handlers/public/routes.go @@ -27,6 +27,7 @@ type Dependencies struct { func NewRouter(deps Dependencies) *gin.Engine { r := gin.New() + r.MaxMultipartMemory = 10 << 20 // 10 MB r.Use(middleware.RequestID) r.Use(middleware.Logging)