🕍🍂 Checkpoint

./app.js:7435365/15
This commit is contained in:
Glitch (hello-express) 2019-12-21 04:13:55 +00:00
parent c3f72650f5
commit c4485b07ab
1 changed files with 2 additions and 1 deletions

3
app.js
View File

@ -127,12 +127,13 @@ app.get("/data", function (request, response) {
response.send(result); // sends dbUsers back to the page
});
});
*/
app.get('/reset', (req, res) => {
Readings.sync({ force: true });
res.status(200).send('OK').end();
})
*/
// listen for requests :)
const listener = app.listen(process.env.PORT, function() {