diff --git a/assets/index.html b/assets/index.html index d6cb650c..21cd2598 100644 --- a/assets/index.html +++ b/assets/index.html @@ -218,7 +218,10 @@ window.showdetail = true; var newrow = "KeyVal"; - newrow += "Domains" + alldata[index].domains + ""; + for (var domainindex in alldata[index].domains) { + newrow += "Domains" + + alldata[index].domains[domainindex] + ""; + } newrow += "Ip" + alldata[index].bind_addr + ""; newrow += "Status" + alldata[index].stat + ""; newrow += "Encryption" + alldata[index].use_encryption + ""; @@ -256,7 +259,7 @@ alldata[newproxies[inx].name].conns.push(newproxies[inx].daily[iinnx].total_accept_conns); } - if (newproxies[inx].daily.length == 0 || newproxies[inx].daily[0].time != today) { + if (newproxies[inx].daily.length == 0 || newproxies[inx].daily[newproxies[inx].daily.length-1].time != today) { alldata[newproxies[inx].name].times.push(today); alldata[newproxies[inx].name].ins.push(0); alldata[newproxies[inx].name].outs.push(0);