aboutsummaryrefslogtreecommitdiff
path: root/backend/main.go
diff options
context:
space:
mode:
authorWolfboy248 <georgejvindkarlsen@gmail.com>2024-10-28 11:43:38 +0100
committerWolfboy248 <georgejvindkarlsen@gmail.com>2024-10-28 11:43:38 +0100
commit6fdc20a4db98531545badedf983a81a05f0ea450 (patch)
tree69d314fd8fad33cc12c676617b5bc1c6ff066cce /backend/main.go
parentrefactor: uploadrundialog (diff)
parentbackend: fix user completion count (diff)
downloadlphub-6fdc20a4db98531545badedf983a81a05f0ea450.tar.gz
lphub-6fdc20a4db98531545badedf983a81a05f0ea450.tar.bz2
lphub-6fdc20a4db98531545badedf983a81a05f0ea450.zip
Merge branch 'typescript' of https://github.com/pektezol/LeastPortalsHub into typescript
Diffstat (limited to 'backend/main.go')
-rw-r--r--backend/main.go4
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
25func main() { 25func 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}