This commit is contained in:
syuilo 2018-04-09 17:33:52 +09:00
parent b9a676a1c1
commit 64547965b4
2 changed files with 2 additions and 3 deletions

View file

@ -87,7 +87,7 @@
"accesses": "2.5.0",
"animejs": "2.2.0",
"autosize": "4.0.1",
"autwh": "0.0.1",
"autwh": "0.1.0",
"bcryptjs": "2.4.3",
"body-parser": "1.18.2",
"bootstrap-vue": "2.0.0-rc.6",

View file

@ -70,8 +70,7 @@ module.exports = (app: express.Application) => {
const twAuth = autwh({
consumerKey: config.twitter.consumer_key,
consumerSecret: config.twitter.consumer_secret,
callbackUrl: `${config.api_url}/tw/cb`
consumerSecret: config.twitter.consumer_secret
});
app.get('/connect/twitter', async (req, res): Promise<any> => {