feat: X_URL

This commit is contained in:
Nevo David 2025-06-30 16:01:25 +07:00
parent 05bc3b9278
commit 6a985f9257
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ export class XProvider extends SocialAbstract implements SocialProvider {
});
const { url, oauth_token, oauth_token_secret } =
await client.generateAuthLink(
process.env.FRONTEND_URL + `/integrations/social/x`,
(process.env.X_URL || process.env.FRONTEND_URL) + `/integrations/social/x`,
{
authAccessType: 'write',
linkMode: 'authenticate',