闭社主体 forked from https://github.com/tootsuite/mastodon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
300 B

  1. # frozen_string_literal: true
  2. module WellKnown
  3. class HostMetaController < ApplicationController
  4. def show
  5. @webfinger_template = "#{webfinger_url}?resource={uri}"
  6. respond_to do |format|
  7. format.xml { render content_type: 'application/xrd+xml' }
  8. end
  9. end
  10. end
  11. end