Print some info when running in dev mode
This commit is contained in:
parent
b6e92d6add
commit
1beb56abcf
2 changed files with 5 additions and 0 deletions
|
@ -88,6 +88,8 @@ func startHTTP() {
|
|||
}
|
||||
} else {
|
||||
if viper.GetBool("dev") {
|
||||
// The node dev server will proxy index page requests and
|
||||
// websocket connections to this port
|
||||
port = "1337"
|
||||
}
|
||||
log.Println("[HTTP] Listening on port", port)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue