Skip to content

Commit

Permalink
Add fallback redirection when getting a webfinger query `WEB_DOMAIN@W…
Browse files Browse the repository at this point in the history
…EB_DOMAIN` (#28592)
  • Loading branch information
ClearlyClaire committed May 17, 2024
1 parent ed8e4ba commit 6536d96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/well_known/webfinger_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def set_account
username = username_from_resource

@account = begin
if username == Rails.configuration.x.local_domain
if username == Rails.configuration.x.local_domain || username == Rails.configuration.x.web_domain
Account.representative
else
Account.find_local!(username)
Expand Down

0 comments on commit 6536d96

Please sign in to comment.