summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-01-21 14:46:46 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-01-21 14:46:46 +0900
commit1dd31647d73dba8382bb4fd8fd89402f6bea5fd6 (patch)
treebb5fa317cde596b2513a3e7f8042eadaa2d5935d /src
parent[Server] Fix bug (diff)
downloadsharkey-1dd31647d73dba8382bb4fd8fd89402f6bea5fd6.tar.gz
sharkey-1dd31647d73dba8382bb4fd8fd89402f6bea5fd6.tar.bz2
sharkey-1dd31647d73dba8382bb4fd8fd89402f6bea5fd6.zip
[Server] Fix bug
Diffstat (limited to 'src')
-rw-r--r--src/api/service/twitter.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/service/twitter.ts b/src/api/service/twitter.ts
index b346e891a9..4796d32124 100644
--- a/src/api/service/twitter.ts
+++ b/src/api/service/twitter.ts
@@ -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> => {