aboutsummaryrefslogtreecommitdiff
path: root/backend/main.go
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2024-10-20 13:52:08 +0300
committerArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2024-10-20 13:52:33 +0300
commitef9b7257a7d58f963e673460f9d6bc9733bce2b9 (patch)
treeedeac45960a78481f52c8d3529c61bb3d9a89270 /backend/main.go
parentrefactor: custom modals (diff)
downloadlphub-ef9b7257a7d58f963e673460f9d6bc9733bce2b9.tar.gz
lphub-ef9b7257a7d58f963e673460f9d6bc9733bce2b9.tar.bz2
lphub-ef9b7257a7d58f963e673460f9d6bc9733bce2b9.zip
backend: increase limit to 500mb
Diffstat (limited to 'backend/main.go')
-rw-r--r--backend/main.go2
1 files changed, 1 insertions, 1 deletions
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() {
47 // router.NoRoute(func(c *gin.Context) { 47 // router.NoRoute(func(c *gin.Context) {
48 // c.File("../frontend/build/index.html") 48 // c.File("../frontend/build/index.html")
49 // }) 49 // })
50 router.MaxMultipartMemory = 200 << 20 // 200 mb limit for demos 50 router.MaxMultipartMemory = 500 << 20 // 500 mb limit for demos
51 router.Run(fmt.Sprintf(":%s", os.Getenv("PORT"))) 51 router.Run(fmt.Sprintf(":%s", os.Getenv("PORT")))
52} 52}