Serve from localhost explicitly
This commit is contained in:
parent
21c1ed01de
commit
fcec1ad950
1 changed files with 2 additions and 2 deletions
|
@ -154,6 +154,6 @@ func (s *Server) Serve() {
|
||||||
http.HandleFunc(PathWallet, s.handleWallet)
|
http.HandleFunc(PathWallet, s.handleWallet)
|
||||||
http.HandleFunc(PathRegister, s.register)
|
http.HandleFunc(PathRegister, s.register)
|
||||||
|
|
||||||
fmt.Println("Serving at :8090")
|
fmt.Println("Serving at localhost:8090")
|
||||||
http.ListenAndServe(":8090", nil)
|
http.ListenAndServe("localhost:8090", nil)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue