0
0
Fork 0

Remove XML version of Webfinger and remove links to Atom feeds (#11460)

Fix #11453
This commit is contained in:
Eugen Rochko 2019-08-01 19:14:02 +02:00 committed by GitHub
parent 706a48ee1f
commit 8b9d0a0533
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 1 additions and 91 deletions

View file

@ -26,7 +26,6 @@ class WebfingerSerializer < ActiveModel::Serializer
else
[
{ rel: 'http://webfinger.net/rel/profile-page', type: 'text/html', href: short_account_url(object) },
{ rel: 'http://schemas.google.com/g/2010#updates-from', type: 'application/atom+xml', href: account_url(object, format: 'atom') },
{ rel: 'self', type: 'application/activity+json', href: account_url(object) },
{ rel: 'http://ostatus.org/schema/1.0/subscribe', template: "#{authorize_interaction_url}?uri={uri}" },
]