This commit is contained in:
Killer Boss Original 2022-07-06 12:56:52 +02:00 committed by GitHub
parent 20e6c4f0eb
commit c0b49e0bdd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 // All dates in the database
app.get('/api/:auth/database', alldata); app.get('/api/:auth/database', alldata);
@ -159,4 +146,3 @@ async function remove(request, response) {
response.send(reply); response.send(reply);
} }
*/