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

@@ -128,7 +128,7 @@ ActivityPub.sign = async (uid, url, payload) => {
const date = new Date().toUTCString();
const key = await ActivityPub.getPrivateKey(uid);
const userslug = await user.getUserField(uid, 'userslug');
const keyId = `${nconf.get('url')}${uid > 0 ? `/user/${userslug}` : ''}#key`;
const keyId = `${nconf.get('url')}${uid > 0 ? `/user/${userslug}` : '/actor'}#key`;
let digest = null;
let headers = '(request-target) host date';