- initial primitive wtv-cookie service to satisfy newer builds and http(s) issues
 - update: wtv-home:/home: add wtv-visit: in case javascript URL accessor fails
 - update: replace bf0app and LC2 tellyscripts with box-specific PPP auth, rather than hard coded PPP auth (may disable CHAP support)
 - update: app.js: getServiceString overrides should only be temporary for that request
 - update: WTVClientCapabilities.js: catch exception when sent unknown configuration bits
This commit is contained in:
zefie
2021-08-02 14:59:10 -04:00
parent fcb94e3058
commit e8cfa60371
21 changed files with 980 additions and 37 deletions

View File

@@ -1225,7 +1225,7 @@ Object.keys(minisrv_config.services).forEach(function (k) {
}
// minisrv_config service toString
minisrv_config.services[k].toString = function (overrides) {
var self = this;
var self = Object.assign({}, this);
if (overrides != null) {
if (typeof (overrides) == 'object') {
Object.keys(overrides).forEach(function (k) {
@@ -1242,7 +1242,6 @@ Object.keys(minisrv_config.services).forEach(function (k) {
outstr += "\nwtv-service: name=wtv-* host=" + self.host + " port=" + self.port;
if (self.flags) outstr += " flags=" + self.flags;
if (self.connections) outstr += " connections=" + self.connections;
if (self['no_star_word']) delete self['no_star_word'];
}
return outstr;
}