From c4485b07ab1724d5abcf6c39d876627feb02f42d Mon Sep 17 00:00:00 2001 From: "Glitch (hello-express)" Date: Sat, 21 Dec 2019 04:13:55 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=95=8D=F0=9F=8D=82=20Checkpoint=20./app.j?= =?UTF-8?q?s:7435365/15?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app.js b/app.js index 4afa49a..89cee2d 100644 --- a/app.js +++ b/app.js @@ -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() {