From 1dd31647d73dba8382bb4fd8fd89402f6bea5fd6 Mon Sep 17 00:00:00 2001
From: syuilo <syuilotan@yahoo.co.jp>
Date: Sat, 21 Jan 2017 14:46:46 +0900
Subject: [PATCH] [Server] Fix bug

---
 src/api/service/twitter.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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