Skip to content

Commit

Permalink
Update _settings.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
gregogalante authored Jun 29, 2021
1 parent bcddc95 commit 39b3e33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/initializer/config/initializers/_settings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
APPLICATION_PROTOCOL = Rails.env.production? ? 'https' : 'http'
APPLICATION_URL = "#{APPLICATION_PROTOCOL}://#{APPLICATION_HOST}#{APPLICATION_PORT ? ":#{APPLICATION_PORT}" : ''}".freeze
Rails.application.routes.default_url_options = { host: APPLICATION_URL }
Rails.application.config.action_mailer.default_url_options = { host: APPLICATION_URL }
Rails.application.config.hosts << APPLICATION_HOST

# Set global regex values:
Expand Down

0 comments on commit 39b3e33

Please sign in to comment.