diff options
| -rw-r--r-- | backend/main.go | 1 |
1 files changed, 1 insertions, 0 deletions
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() { | |||
| 51 | router.NoRoute(func(c *gin.Context) { | 51 | router.NoRoute(func(c *gin.Context) { |
| 52 | c.File("../frontend/build/index.html") | 52 | c.File("../frontend/build/index.html") |
| 53 | }) | 53 | }) |
| 54 | router.MaxMultipartMemory = 500 << 20 // 500 mb limit for demos | ||
| 54 | router.Run(fmt.Sprintf(":%s", os.Getenv("PORT"))) | 55 | router.Run(fmt.Sprintf(":%s", os.Getenv("PORT"))) |
| 55 | } | 56 | } |