From 24009a44bb02ee6fda63ef07b7f81b54fa37844a 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 606a11a71..b346e891a 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));