diff options
author | Darius Kazemi <darius.kazemi@gmail.com> | 2019-12-11 19:03:42 -0800 |
---|---|---|
committer | Darius Kazemi <darius.kazemi@gmail.com> | 2019-12-11 19:03:42 -0800 |
commit | 51b42d13a370a9a79a618742c62de42c6cb666d8 (patch) | |
tree | b283ef8759e12c9959b8417a37e3589c27704b66 /routes.js | |
parent | 1157143d851ad53a095d7047e0a8d53c085bddd4 (diff) |
Fixing federation bug
Diffstat (limited to 'routes.js')
-rwxr-xr-x | routes.js | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -148,15 +148,15 @@ function createActivityPubActor(eventID, domain, pubkey) { 'https://w3id.org/security/v1' ], - 'id': `https://${domain}/u/${eventID}`, + 'id': `https://${domain}/${eventID}`, 'type': 'Person', - 'preferredUsereventID': `${eventID}`, + 'preferredUsername': `${eventID}`, 'inbox': `https://${domain}/api/inbox`, - 'followers': `https://${domain}/u/${eventID}/followers`, + 'followers': `https://${domain}/${eventID}/followers`, 'publicKey': { - 'id': `https://${domain}/u/${eventID}#main-key`, - 'owner': `https://${domain}/u/${eventID}`, + 'id': `https://${domain}/${eventID}#main-key`, + 'owner': `https://${domain}/${eventID}`, 'publicKeyPem': pubkey } }); |