Skip to content

Commit 4e614ff

Browse files
committed
dev config for host urls
1 parent 5862f9d commit 4e614ff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config/environments/development.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# Settings specified here will take precedence over those in config/application.rb.
1212
web_host = ENV['AUTHORITY'] || 'localhost'
1313
web_port = ENV['WEB_PORT'] || '9090'
14+
routes.default_url_options[:host] = web_host
1415

1516
config.action_controller.default_url_options = {
1617
host: web_host,

0 commit comments

Comments
 (0)