Commit 1a743452 authored by Eugen Rochko's avatar Eugen Rochko Committed by Nathan Ladd
Browse files

Fix uncaught unknown format errors in host meta controller (#12747)

parent d28b1b02
......@@ -8,12 +8,8 @@ module WellKnown
def show
@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
render content_type: 'application/xrd+xml', formats: [:xml]
end
end
end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment