diff --git a/api/well-known/webfinger.ts b/api/well-known/webfinger.ts index 2c2ae209165cd3e5dbbd407f0c264ee58a053a72..b30e82cebfa77e4a8504fa2a589f21e364bf432b 100644 --- a/api/well-known/webfinger.ts +++ b/api/well-known/webfinger.ts @@ -7,7 +7,7 @@ export default function (req: VercelRequest, res: VercelResponse) { const apDomain = (new URL(`${process.env.ACTIVITYPUB_URL}`)).hostname; let apAlias; if( process.env.ACTIVITYPUB_URL_ALIAS && process.env.ACTIVITYPUB_USER_ALIAS ) { - apAlias = `${process.env.ACTIVITYPUB_URL_ALIAS}${process.env.ACTIVITYPUB_USER_ALIAS.toLowerCase()}`; + apAlias = `${process.env.ACTIVITYPUB_ALIAS}`; } else { apAlias = "" }