From f9c1223e0be0738863fb1f1fc2e76c0bcd634e01 Mon Sep 17 00:00:00 2001 From: Andrew Pietila Date: Wed, 29 Mar 2023 08:17:16 -0500 Subject: [PATCH] Ensure req.hostname is shared as the preferredUsername --- routes/actor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/actor.js b/routes/actor.js index 7813bf3..cb54ee3 100644 --- a/routes/actor.js +++ b/routes/actor.js @@ -32,7 +32,7 @@ module.exports = { }, 'as:manuallyApprovesFollowers': true, 'outbox': `https://${req.hostname}/actor/outbox`, - 'preferredUsername': '${req.hostname}', + 'preferredUsername': `${req.hostname}`, 'url': `https://${req.hostname}/about/more?instance_actor=true` }); return res.end();