Skip to content

Commit

Permalink
FORCE PUSH: Fixing HTTP listener to allow for Prod deploy
Browse files Browse the repository at this point in the history
Removing the HTTP Host value allows the hosted machine to listen on all
available interfaces; which is how we have them configured.
  • Loading branch information
dlhdesign committed Aug 7, 2018
1 parent e0877c4 commit 74fe464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commons/services/http_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (this *HttpService) IsRunning() bool {
// Go -
func (this *HttpService) Go() {
this.running = true
listen := fmt.Sprintf("%s:%d", this.Endpoint.Host, this.Endpoint.Port)
listen := fmt.Sprintf("%s:%d", "", this.Endpoint.Port) // FIX: commented "this.Endpoint.Host" for prod release
utils.Info("listening on http://" + listen)
cors := cors.New(cors.Options{
AllowedOrigins: []string{"*"},
Expand Down

0 comments on commit 74fe464

Please sign in to comment.