From ef9b7257a7d58f963e673460f9d6bc9733bce2b9 Mon Sep 17 00:00:00 2001 From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> Date: Sun, 20 Oct 2024 13:52:08 +0300 Subject: backend: increase limit to 500mb --- backend/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend') diff --git a/backend/main.go b/backend/main.go index e7a0ede..26aa852 100644 --- a/backend/main.go +++ b/backend/main.go @@ -47,6 +47,6 @@ func main() { // router.NoRoute(func(c *gin.Context) { // c.File("../frontend/build/index.html") // }) - router.MaxMultipartMemory = 200 << 20 // 200 mb limit for demos + router.MaxMultipartMemory = 500 << 20 // 500 mb limit for demos router.Run(fmt.Sprintf(":%s", os.Getenv("PORT"))) } -- cgit v1.2.3