This commit is contained in:
syuilo 2018-04-09 20:03:38 +09:00
parent 0c0c37108b
commit 5ea78e3440

View file

@ -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<any> => {