Too much indexes

This commit is contained in:
Juergen Edelbluth 2018-04-11 21:35:01 +02:00
parent 1e185e587b
commit a98a257213

2
app.js
View File

@ -29,7 +29,7 @@ app.use('/data', function (request, response) {
return; return;
} }
var data = {}; var data = {};
for (var i = 0; i <= 8; i++) { for (var i = 0; i < 8; i++) {
var index = i+1; var index = i+1;
var temp = res[2*i]; var temp = res[2*i];
var humi = res[2*i+1]; var humi = res[2*i+1];