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

th-downstream
Eugen Rochko 5 years ago committed by GitHub
parent 683b263a43
commit 91422d35ed

@ -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

Loading…
Cancel
Save