diff --git a/src/api/service/twitter.ts b/src/api/service/twitter.ts index b346e891a9..4796d32124 100644 --- a/src/api/service/twitter.ts +++ b/src/api/service/twitter.ts @@ -11,7 +11,7 @@ module.exports = (app: express.Application) => { const twAuth = autwh({ consumerKey: config.twitter.consumer_key, consumerSecret: config.twitter.consumer_secret, - callbackUrl: config.url + '/tw/cb' + callbackUrl: config.api_url + '/tw/cb' }); app.get('/connect/twitter', async (req, res): Promise => {