Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -71,7 +71,7 @@ func main() { | ... | @@ -71,7 +71,7 @@ func main() { |
71 | if cfg.Server.LocalMode { | 71 | if cfg.Server.LocalMode { |
72 | handler := cors.AllowAll().Handler(router) | 72 | handler := cors.AllowAll().Handler(router) |
73 | hs := make(HostSwitch) | 73 | hs := make(HostSwitch) |
74 | - hs[config.Server.Host+":"+config.Server.Port] | 74 | + hs[cfg.Server.Host+":"+cfg.Server.Port] |
75 | 75 | ||
76 | // Start Server in Local Mode | 76 | // Start Server in Local Mode |
77 | log.Println("[Local Mode] Starting HTTP API Server on port", portStr) | 77 | log.Println("[Local Mode] Starting HTTP API Server on port", portStr) | ... | ... |
-
Please register or login to post a comment