diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 026a95eff..a86fab453 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -18,7 +18,7 @@ def not_found end def redirect_subdomain - redirect_to("https://flowclimate.com #{request.fullpath}", status: :moved_permanently) if request.host == 'www.flowclimate.com' + redirect_to("https://flowclimate.com.br #{request.fullpath}", status: :moved_permanently) if request.host == 'www.flowclimate.com.br' end def page_param diff --git a/config/environments/production.rb b/config/environments/production.rb index d82365787..5cad0b8a7 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -85,7 +85,7 @@ # Do not dump schema after migrations. config.active_record.dump_schema_after_migration = false - host = 'https://flowclimate.com' + host = 'https://flowclimate.com.br' config.action_mailer.default_url_options = { host: host } config.action_mailer.asset_host = host