aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-06-17 11:11:41 +0300
committerArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-06-17 11:11:41 +0300
commitf133acf8a1ec5b797b48e3d9224baea631a2a85c (patch)
tree3013b68cfff3805e8dcd2d9172b6ca7468b86432 /main.go
parentMerge branch 'main' of https://github.com/pektezol/LeastPortals (diff)
downloadlphub-f133acf8a1ec5b797b48e3d9224baea631a2a85c.tar.gz
lphub-f133acf8a1ec5b797b48e3d9224baea631a2a85c.tar.bz2
lphub-f133acf8a1ec5b797b48e3d9224baea631a2a85c.zip
feat: update main
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/main.go b/main.go
index 991f3c0..8aaa80c 100644
--- a/main.go
+++ b/main.go
@@ -31,8 +31,6 @@ func main() {
31 } 31 }
32 router := gin.Default() 32 router := gin.Default()
33 database.ConnectDB() 33 database.ConnectDB()
34 // For frontend static serving - only for local debug
35 // router.Use(static.Serve("/", static.LocalFile("./frontend/build", true)))
36 routes.InitRoutes(router) 34 routes.InitRoutes(router)
37 router.Run(fmt.Sprintf(":%s", os.Getenv("PORT"))) 35 router.Run(fmt.Sprintf(":%s", os.Getenv("PORT")))
38} 36}