From 0e5212afd52fd3b88ba94d4e10ad487a62fb70ab Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 21 Jan 2017 14:41:35 +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 606a11a712..b346e891a9 100644 --- a/src/api/service/twitter.ts +++ b/src/api/service/twitter.ts @@ -14,7 +14,7 @@ module.exports = (app: express.Application) => { callbackUrl: config.url + '/tw/cb' }); - app.get('connect/twitter', async (req, res): Promise => { + app.get('/connect/twitter', async (req, res): Promise => { if (res.locals.user == null) return res.send('plz signin'); const ctx = await twAuth.begin(); redis.set(res.locals.user, JSON.stringify(ctx));