Skip to content

Commit

Permalink
chore: 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 c0cd188 commit 362e3f7
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 #{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
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'
host = 'https://flowclimate.com.br'
config.action_mailer.default_url_options = { host: host }
config.action_mailer.asset_host = host

Expand Down

0 comments on commit 362e3f7

Please sign in to comment.