Make setting the web server port optional

This commit is contained in:
Gabe Kangas
2020-07-13 14:48:56 -07:00
parent 44806d1a8e
commit 9b104f1d40
3 changed files with 10 additions and 3 deletions

View File

@@ -34,7 +34,7 @@ func Start() error {
http.HandleFunc("/config", controllers.GetWebConfig)
}
port := config.Config.WebServerPort
port := config.Config.GetPublicWebServerPort()
log.Infof("Web server running on port: %d", port)