bugfix: port config in config file not work (#132)
* Update main.go * update * Update main.go fix lint
This commit is contained in:
4
main.go
4
main.go
@@ -76,8 +76,8 @@ func main() {
|
|||||||
|
|
||||||
// if config file is found it will be merged with the current config struct
|
// if config file is found it will be merged with the current config struct
|
||||||
if err := c.LoadFile(configFile); err != nil {
|
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)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user