From c0b49e0bdd12b79395fcc0b1509b8dffeb1eddbe Mon Sep 17 00:00:00 2001 From: Killer Boss Original <73131550+killerbossoriginal@users.noreply.github.com> Date: Wed, 6 Jul 2022 12:56:52 +0200 Subject: [PATCH] , --- index.js | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/index.js b/index.js index 771b717..183cabc 100644 --- a/index.js +++ b/index.js @@ -60,19 +60,6 @@ async function authenticate(token, response, what) { } } -/* -app.post('/', (req, res) => { - res.send('Got a POST request') -}) -*/ - -app.post('/api/:auth/database', (req, res) => { - var token = request.params.auth; - authenticate(token, response, 'alldata') - res.send('elements') -}) - -/* // All dates in the database app.get('/api/:auth/database', alldata); @@ -158,5 +145,4 @@ async function remove(request, response) { } response.send(reply); -} -*/ \ No newline at end of file +} \ No newline at end of file