Browse Source

Changes the actor type from `Person` to `Service` to allow bot detection

pull/32/head
Samuel FORESTIER 3 years ago
parent
commit
55478651f6
  1. 3
      routes/api.js

3
routes/api.js

@ -92,9 +92,8 @@ function createActor(name, domain, pubkey, displayName, imageUrl, description) {
'https://www.w3.org/ns/activitystreams',
'https://w3id.org/security/v1'
],
'id': `https://${domain}/u/${name}`,
'type': 'Person',
'type': 'Service',
'preferredUsername': `${name}`,
'inbox': `https://${domain}/api/inbox`,
'followers': `https://${domain}/u/${name}/followers`,

Loading…
Cancel
Save