Skip to content

Commit

Permalink
Allow other host in forward_to_app_config_domain (forem#21370)
Browse files Browse the repository at this point in the history
  • Loading branch information
benhalpern authored Nov 13, 2024
1 parent 0eb1197 commit cf76433
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def forward_to_app_config_domain
# If the app domain config has now been set, let's go there instead.
ENV["APP_DOMAIN"] != Settings::General.app_domain

redirect_to URL.url(request.fullpath)
redirect_to URL.url(request.fullpath), allow_other_host: true
end

def bust_content_change_caches
Expand Down

0 comments on commit cf76433

Please sign in to comment.