fix: revert home page routing change and moved instance actor endpoint to

This commit is contained in:
Julian Lam
2024-01-24 14:09:40 -05:00
parent 911177ceda
commit e00a03bb9c
5 changed files with 13 additions and 13 deletions

View File

@@ -221,7 +221,7 @@ describe('ActivityPub integration', () => {
let body;
before(async () => {
({ response, body } = await request.get(nconf.get('url'), {
({ response, body } = await request.get(`${nconf.get('url')}/actor`, {
headers: {
Accept: 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"',
},
@@ -328,7 +328,7 @@ describe('ActivityPub integration', () => {
const [keyId] = signature.split(',');
assert(signature);
assert.strictEqual(keyId, `keyId="${nconf.get('url')}#key"`);
assert.strictEqual(keyId, `keyId="${nconf.get('url')}/actor#key"`);
});
});