2017-04-29 23:23:45 +01:00
|
|
|
# frozen_string_literal: true
|
2017-04-13 12:09:07 +01:00
|
|
|
|
|
|
|
module WellKnown
|
|
|
|
class HostMetaController < ApplicationController
|
2017-06-02 21:21:36 +01:00
|
|
|
include RoutingHelper
|
|
|
|
|
2017-04-13 12:09:07 +01:00
|
|
|
def show
|
|
|
|
@webfinger_template = "#{webfinger_url}?resource={uri}"
|
|
|
|
|
|
|
|
respond_to do |format|
|
|
|
|
format.xml { render content_type: 'application/xrd+xml' }
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|