Small fixes to activitypub json output

This commit is contained in:
Nathan Byrd 2023-01-06 13:49:45 -06:00
parent e478665456
commit d615b53f1f
1 changed files with 4 additions and 4 deletions

View File

@ -94,10 +94,10 @@ exports.getModule = class ActivityPubWebHandler extends WebHandlerModule {
endpoints: { endpoints: {
sharedInbox: 'TODO', sharedInbox: 'TODO',
}, },
inbox: makeUserUrl(this.webServer, user, '/ap/users') + '/outbox', inbox: makeUserUrl(this.webServer, user, '/ap/users/') + '/inbox',
outbox: makeUserUrl(this.webServer, user, '/ap/users') + '/inbox', outbox: makeUserUrl(this.webServer, user, '/ap/users/') + '/outbox',
followers: makeUserUrl(this.webServer, user, '/ap/users') + '/followers', followers: makeUserUrl(this.webServer, user, '/ap/users/') + '/followers',
following: makeUserUrl(this.webServer, user, '/ap/users') + '/following', following: makeUserUrl(this.webServer, user, '/ap/users/') + '/following',
summary: user.getProperty(UserProps.AutoSignature) || '', summary: user.getProperty(UserProps.AutoSignature) || '',
url: webFingerProfileUrl(this.webServer, user), url: webFingerProfileUrl(this.webServer, user),