From 3aec16382235c54d3239c12ab10883e31ebfc0eb Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 12 Feb 2017 06:03:48 +0900 Subject: [PATCH] Remove unused code --- src/api/server.ts | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/api/server.ts b/src/api/server.ts index 390032f9a..0b30222d3 100644 --- a/src/api/server.ts +++ b/src/api/server.ts @@ -29,18 +29,6 @@ app.get('/', (req, res) => { res.send('YEE HAW'); }); -/** - * Authetication - */ -/*app.post('*', async (req, res, next) => { - try { - ctx = await authenticate(req); - next(); - } catch (e) { - res.status(403).send('AUTHENTICATION_FAILED'); - } -}); -*/ /** * Register endpoint handlers */