Merge pull request #99 from iron-io/server-port-comment

comment about default/PORT env var
This commit is contained in:
Travis Reeder
2016-09-19 14:03:00 -07:00
committed by GitHub

View File

@@ -97,7 +97,8 @@ func (s *Server) Run(ctx context.Context) {
bindHandlers(s.Router)
// Default to :8080
// By default it serves on :8080 unless a
// PORT environment variable was defined.
s.Router.Run()
}