Serve from localhost explicitly

This commit is contained in:
Daniel Krol 2022-06-16 10:01:49 -04:00
parent 21c1ed01de
commit fcec1ad950

View file

@ -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)
} }