mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-20 11:35:29 +01:00
Fix uncaught unknown format errors in host meta controller (#12747)
This commit is contained in:
parent
e4d75f238b
commit
83deae5bd7
@ -8,12 +8,8 @@ module WellKnown
|
|||||||
|
|
||||||
def show
|
def show
|
||||||
@webfinger_template = "#{webfinger_url}?resource={uri}"
|
@webfinger_template = "#{webfinger_url}?resource={uri}"
|
||||||
|
|
||||||
respond_to do |format|
|
|
||||||
format.xml { render content_type: 'application/xrd+xml' }
|
|
||||||
end
|
|
||||||
|
|
||||||
expires_in 3.days, public: true
|
expires_in 3.days, public: true
|
||||||
|
render content_type: 'application/xrd+xml', formats: [:xml]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user