Skip to content
Snippets Groups Projects
Verified Commit 0ff3049d authored by Jeffrey Phillips Freeman's avatar Jeffrey Phillips Freeman :boom:
Browse files

Chantged alias variable

parent f1db842f
No related branches found
No related tags found
No related merge requests found
......@@ -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 = ""
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment