Skip to content

Commit

Permalink
Merge pull request #16 from KazeFlame/fix-1
Browse files Browse the repository at this point in the history
Fix host is not being passed
  • Loading branch information
jpillora authored Jun 13, 2016
2 parents 1382a4a + 5398b7d commit c7c2b24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func (s *Server) Start(host, port string) error {
}
s.Infof("Listening on %s...", port)

return s.httpServer.GoListenAndServe(":"+port, http.HandlerFunc(s.handleHTTP))
return s.httpServer.GoListenAndServe(host+":"+port, http.HandlerFunc(s.handleHTTP))
}

func (s *Server) Wait() error {
Expand Down

0 comments on commit c7c2b24

Please sign in to comment.