diff --git a/main.go b/main.go index b9978a6..47da465 100644 --- a/main.go +++ b/main.go @@ -76,8 +76,8 @@ func main() { // if config file is found it will be merged with the current config struct if err := c.LoadFile(configFile); err != nil { - log.Println(cli.BgRed, "config", cli.Reset, "no config file found") + log.Println(cli.BgRed, "config", cli.Reset, err) } - server.RunBlocking(host, port, frontend, localDatabasePath) + server.RunBlocking(c.Host, c.Port, frontend, localDatabasePath) }