cosmetic changes in web

This commit is contained in:
Paul
2019-08-20 19:02:12 +02:00
parent 2aae90b7cf
commit d8ac200b6a
6 changed files with 56 additions and 114 deletions

View File

@@ -90,7 +90,6 @@ var configfile = {
"ntp": {
"server": "pool.ntp.org",
"interval": "30",
"timezone": "0",
"enabled": false
}
};
@@ -227,7 +226,6 @@ wss.on('connection', function connection(ws) {
var res = {};
res.command = "gettime";
res.epoch = Math.floor((new Date).getTime() / 1000);
res.timezone = configfile.timezone;
wss.broadcast(res);
break;
case "settime":
@@ -235,7 +233,6 @@ wss.on('connection', function connection(ws) {
var res = {};
res.command = "gettime";
res.epoch = Math.floor((new Date).getTime() / 1000);
res.timezone = configfile.timezone;
wss.broadcast(res);
break;
case "getconf":