Skip to content

Commit

Permalink
chore: revert - update flowclimate prod url
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardoluizdev committed Jan 12, 2024
1 parent 362e3f7 commit 68fb7f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def not_found
end

def redirect_subdomain
redirect_to("https://flowclimate.com.br #{request.fullpath}", status: :moved_permanently) if request.host == 'www.flowclimate.com.br'
redirect_to("https://flowclimate.com #{request.fullpath}", status: :moved_permanently) if request.host == 'www.flowclimate.com'
end

def page_param
Expand Down
2 changes: 1 addition & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
# Do not dump schema after migrations.
config.active_record.dump_schema_after_migration = false

host = 'https://flowclimate.com.br'
host = 'https://flowclimate.com'
config.action_mailer.default_url_options = { host: host }
config.action_mailer.asset_host = host

Expand Down

0 comments on commit 68fb7f4

Please sign in to comment.