mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-21 03:42:00 +01:00
fix: revert home page routing change and moved instance actor endpoint to
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user