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 10, 2024
1 parent 951064f commit b10511e
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 @@ -20,7 +20,7 @@ def show
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 b10511e

Please sign in to comment.