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