diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-02-12 06:03:48 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-02-12 06:03:48 +0900 |
| commit | 3aec16382235c54d3239c12ab10883e31ebfc0eb (patch) | |
| tree | 3669533fdd4503704a564640e45b5ee7d92e4d12 /src/api/server.ts | |
| parent | Revert "[Server] Fix bug" (diff) | |
| download | sharkey-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.ts | 12 |
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 => |