You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
insert_into_file "config.ru", before: /^run Rails.application/ do
|
|
<<-RUBY
|
|
use Rack::CanonicalHost, ENV.fetch("RAILS_HOSTNAME", nil) if ENV["RAILS_HOSTNAME"].present?
|
|
RUBY
|
|
end
|