From 5ea78e344027110ccd90beaa60d92a3fb5264b52 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 9 Apr 2018 20:03:38 +0900 Subject: [PATCH] Fix bug --- src/server/api/service/twitter.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/server/api/service/twitter.ts b/src/server/api/service/twitter.ts index e51ce92ba..e5239fa17 100644 --- a/src/server/api/service/twitter.ts +++ b/src/server/api/service/twitter.ts @@ -70,7 +70,8 @@ module.exports = (app: express.Application) => { const twAuth = autwh({ consumerKey: config.twitter.consumer_key, - consumerSecret: config.twitter.consumer_secret + consumerSecret: config.twitter.consumer_secret, + callbackUrl: `${config.url}/api/tw/cb` }); app.get('/connect/twitter', async (req, res): Promise => {