🕍🍂 Checkpoint
./app.js:7435365/15
This commit is contained in:
parent
c3f72650f5
commit
c4485b07ab
3
app.js
3
app.js
@ -127,12 +127,13 @@ app.get("/data", function (request, response) {
|
|||||||
response.send(result); // sends dbUsers back to the page
|
response.send(result); // sends dbUsers back to the page
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
*/
|
||||||
|
|
||||||
app.get('/reset', (req, res) => {
|
app.get('/reset', (req, res) => {
|
||||||
Readings.sync({ force: true });
|
Readings.sync({ force: true });
|
||||||
res.status(200).send('OK').end();
|
res.status(200).send('OK').end();
|
||||||
})
|
})
|
||||||
*/
|
|
||||||
|
|
||||||
// listen for requests :)
|
// listen for requests :)
|
||||||
const listener = app.listen(process.env.PORT, function() {
|
const listener = app.listen(process.env.PORT, function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user