diff options
Diffstat (limited to 'backend/main.go')
| -rw-r--r-- | backend/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/main.go b/backend/main.go index 26aa852..a1a4a20 100644 --- a/backend/main.go +++ b/backend/main.go | |||
| @@ -20,7 +20,7 @@ import ( | |||
| 20 | // @license.name GNU Affero General Public License, Version 3 | 20 | // @license.name GNU Affero General Public License, Version 3 |
| 21 | // @license.url https://www.gnu.org/licenses/agpl-3.0.html | 21 | // @license.url https://www.gnu.org/licenses/agpl-3.0.html |
| 22 | 22 | ||
| 23 | // @host lp.ardapektezol.com | 23 | // @host lp.pektezol.dev |
| 24 | // @BasePath /api/v1 | 24 | // @BasePath /api/v1 |
| 25 | func main() { | 25 | func main() { |
| 26 | err := godotenv.Load() | 26 | err := godotenv.Load() |
| @@ -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 = 500 << 20 // 500 mb limit for demos | 50 | router.MaxMultipartMemory = 250 << 20 // 250 mb limit for demos |
| 51 | router.Run(fmt.Sprintf(":%s", os.Getenv("PORT"))) | 51 | router.Run(fmt.Sprintf(":%s", os.Getenv("PORT"))) |
| 52 | } | 52 | } |