Skip to content

Commit 8a67214

Browse files
committed
Add documentation to port directive.
1 parent 830684f commit 8a67214

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

guides/deployment/readme.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,10 @@ service hostname do
103103

104104
# If using count > 1 you may want to preload your app to reduce memory usage and increase performance:
105105
preload "preload.rb"
106-
106+
107+
# The default port should be 3000, but you can change it to match your Heroku configuration.
107108
port {ENV.fetch("PORT", 3000).to_i}
108-
109+
109110
# Heroku only supports HTTP/1.1 at the time of this writing. Review the following for possible updates in the future:
110111
# https://devcenter.heroku.com/articles/http-routing#http-versions-supported
111112
# https://github.com/heroku/roadmap/issues/34

0 commit comments

Comments
 (0)