summaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/api')
-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 =>