added serverSettings load method

master
Alex 2021-05-28 22:09:36 +02:00
parent 45d1759fff
commit ad7531b6db
1 changed files with 3 additions and 0 deletions

View File

@ -24,6 +24,7 @@ package main
import (
"git.umbach.dev/app-idea/rest-api/modules/config"
"git.umbach.dev/app-idea/rest-api/modules/database"
"git.umbach.dev/app-idea/rest-api/modules/serversettings"
"git.umbach.dev/app-idea/rest-api/routers/router"
_ "github.com/go-sql-driver/mysql"
@ -45,6 +46,8 @@ func main() {
router.SetupRoutes(app)
database.InitDatabase()
serversettings.LoadServerSettings()
app.Listen(cfg.Server.Host)
}