mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
server port comment about default/PORT env var
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user