mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 20:33:09 +02:00
Remove unused code
This commit is contained in:
parent
a7ac99f142
commit
3aec163822
1 changed files with 0 additions and 12 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue