mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-09 00:52:55 +01:00
fix: revert home page routing change and moved instance actor endpoint to
This commit is contained in:
@@ -17,8 +17,8 @@ Actors.application = async function (req, res) {
|
||||
'https://www.w3.org/ns/activitystreams',
|
||||
'https://w3id.org/security/v1',
|
||||
],
|
||||
id: `${nconf.get('url')}`,
|
||||
url: `${nconf.get('url')}`,
|
||||
id: `${nconf.get('url')}/actor`,
|
||||
url: `${nconf.get('url')}/actor`,
|
||||
inbox: `${nconf.get('url')}/inbox`,
|
||||
outbox: `${nconf.get('url')}/outbox`,
|
||||
|
||||
@@ -27,8 +27,8 @@ Actors.application = async function (req, res) {
|
||||
preferredUsername: nconf.get('url_parsed').hostname,
|
||||
|
||||
publicKey: {
|
||||
id: `${nconf.get('url')}#key`,
|
||||
owner: nconf.get('url'),
|
||||
id: `${nconf.get('url')}/actor#key`,
|
||||
owner: `${nconf.get('url')}/actor`,
|
||||
publicKeyPem: publicKey,
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user