Skip to content
Snippets Groups Projects
Commit d567a382 authored by ThibG's avatar ThibG Committed by Eugen Rochko
Browse files

Ensure well_known controllers use WEB_DOMAIN by including RoutingHelper (#2388)

This fixes #2375.
parent 18fe7708
No related merge requests found
......@@ -2,6 +2,8 @@
module WellKnown
class HostMetaController < ApplicationController
include RoutingHelper
def show
@webfinger_template = "#{webfinger_url}?resource={uri}"
......
......@@ -2,6 +2,8 @@
module WellKnown
class WebfingerController < ApplicationController
include RoutingHelper
def show
@account = Account.find_local!(username_from_resource)
@canonical_account_uri = @account.to_webfinger_s
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment