[Server] Fix bug

This commit is contained in:
syuilo 2017-01-21 14:46:46 +09:00
parent 0e5212afd5
commit 1dd31647d7

View file

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