mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 12:29:54 +01:00
Merge pull request #1391 from Retrospring/allow-extra-hosts-in-dev
Allow setting extra hosts in development environments
This commit is contained in:
commit
3676ebb7a2
1 changed files with 1 additions and 0 deletions
|
@ -75,6 +75,7 @@ Rails.application.configure do
|
|||
# Use an evented file watcher to asynchronously detect changes in source code,
|
||||
# routes, locales, etc. This feature depends on the listen gem.
|
||||
# config.file_watcher = ActiveSupport::EventedFileUpdateChecker
|
||||
config.hosts += ENV["EXTRA_HOSTS"].split(':') if ENV["EXTRA_HOSTS"].present?
|
||||
end
|
||||
|
||||
# For better_errors to work inside Docker we need
|
||||
|
|
Loading…
Reference in a new issue