[Server] Fix bug

This commit is contained in:
syuilo 2017-01-21 14:46:46 +09:00
parent 24009a44bb
commit 33c42e6bb8

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