improve index.html interface with ninja template
This commit is contained in:
1 parent
4530afde5f
commit
02a06ed434
1388 files changed
+533479
-272
No files matched your search
+1
-1
@@ -163,7 +163,7 @@ app.get("/sensordata/:id", (req, res) => {
|
||||
});
|
||||
|
||||
app.get("/sensors", (req, res) => {
|
||||
const sql = `SELECT id FROM sensor_data`;
|
||||
const sql = `SELECT id FROM sensor_data ORDER BY id ASC`;
|
||||
|
||||
db.query(sql, (err, results) => {
|
||||
if (err) {
|
||||
|
||||
Reference in new issue
Block a user