improve index.html interface with ninja template

This commit is contained in:
cowrie
2026-04-16 22:51:20 +08:00
parent 4530afde5f
commit 02a06ed434
1388 changed files with 533479 additions and 272 deletions

View File

@ -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) {