add timezone and actor to nodeinfo

This commit is contained in:
lesion 2023-02-03 15:12:12 +01:00
parent a9c9fd38a5
commit 7cb9530414
No known key found for this signature in database
GPG key ID: 352918250B012177

View file

@ -63,7 +63,9 @@ router.get('/nodeinfo/:nodeinfo_version', async (req, res) => {
metadata: {
nodeDescription: settings.description,
nodeName: settings.title,
nodeLabel: settings.instance_place
nodeLabel: settings.instance_place,
nodeTimezone: settings.instance_timezone,
nodeActor: settings.instance_name
},
openRegistrations: settings.allow_registration,
protocols: ['activitypub'],