You've already forked fm-dx-webserver
mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-02-26 22:13:53 +01:00
design changes, accessibility stuff
This commit is contained in:
@@ -4,6 +4,7 @@ const fetch = require('node-fetch');
|
||||
const { logDebug, logError, logInfo, logWarn } = require('./console');
|
||||
const { serverConfig, configUpdate, configSave } = require('./server_config');
|
||||
var pjson = require('../package.json');
|
||||
var os = require('os');
|
||||
|
||||
let timeoutID = null;
|
||||
|
||||
@@ -60,6 +61,7 @@ function sendKeepalive() {
|
||||
}
|
||||
|
||||
function sendUpdate() {
|
||||
let currentOs = os.type() + ' ' + os.release();
|
||||
|
||||
let bwLimit = '';
|
||||
if (serverConfig.webserver.tuningLimit === true) {
|
||||
@@ -76,7 +78,8 @@ function sendUpdate() {
|
||||
contact: serverConfig.identification.contact || '',
|
||||
tuner: serverConfig.device || '',
|
||||
bwLimit: bwLimit,
|
||||
version: pjson.version
|
||||
os: currentOs,
|
||||
version: pjson.version
|
||||
};
|
||||
|
||||
if (serverConfig.identification.token)
|
||||
|
||||
Reference in New Issue
Block a user