summaryrefslogtreecommitdiff
path: root/src/api/server.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-02-12 06:03:48 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-02-12 06:03:48 +0900
commit3aec16382235c54d3239c12ab10883e31ebfc0eb (patch)
tree3669533fdd4503704a564640e45b5ee7d92e4d12 /src/api/server.ts
parentRevert "[Server] Fix bug" (diff)
downloadsharkey-3aec16382235c54d3239c12ab10883e31ebfc0eb.tar.gz
sharkey-3aec16382235c54d3239c12ab10883e31ebfc0eb.tar.bz2
sharkey-3aec16382235c54d3239c12ab10883e31ebfc0eb.zip
Remove unused code
Diffstat (limited to 'src/api/server.ts')
-rw-r--r--src/api/server.ts12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/api/server.ts b/src/api/server.ts
index 390032f9a4..0b30222d38 100644
--- a/src/api/server.ts
+++ b/src/api/server.ts
@@ -30,18 +30,6 @@ app.get('/', (req, res) => {
});
/**
- * Authetication
- */
-/*app.post('*', async (req, res, next) => {
- try {
- ctx = await authenticate(req);
- next();
- } catch (e) {
- res.status(403).send('AUTHENTICATION_FAILED');
- }
-});
-*/
-/**
* Register endpoint handlers
*/
endpoints.forEach(endpoint =>