|
|
|
|
@@ -1,13 +1,13 @@
|
|
|
|
|
var minisrv_service_file = true;
|
|
|
|
|
const minisrv_service_file = true;
|
|
|
|
|
|
|
|
|
|
headers =`200 OK
|
|
|
|
|
Connection: Keep-Alive
|
|
|
|
|
wtv-expire-all: wtv-home:/splash
|
|
|
|
|
Content-type: text/html`
|
|
|
|
|
|
|
|
|
|
var cryptstatus = (wtv_encrypted ? "Encrypted" : "Not Encrypted")
|
|
|
|
|
var comp_type = wtvmime.shouldWeCompress(socket.ssid,'text/html');
|
|
|
|
|
var compstatus = "uncompressed";
|
|
|
|
|
const cryptstatus = (socket.secure ? "Encrypted" : "Not Encrypted")
|
|
|
|
|
const comp_type = wtvmime.shouldWeCompress(socket.ssid,'text/html');
|
|
|
|
|
let compstatus = "uncompressed";
|
|
|
|
|
switch (comp_type) {
|
|
|
|
|
case 1:
|
|
|
|
|
compstatus = "wtv-lzpf";
|
|
|
|
|
@@ -17,11 +17,10 @@ switch (comp_type) {
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var wtv_system_sysconfig = session_data.get("wtv-system-sysconfig");
|
|
|
|
|
var wtv_client_bootrom_version = session_data.get("wtv-client-bootrom-version");
|
|
|
|
|
var wtv_system_chipversion_str = session_data.get("wtv-system-chipversion");
|
|
|
|
|
|
|
|
|
|
var notImplementedAlert = new clientShowAlert({
|
|
|
|
|
const wtv_system_sysconfig = session_data.get("wtv-system-sysconfig");
|
|
|
|
|
const wtv_client_bootrom_version = session_data.get("wtv-client-bootrom-version");
|
|
|
|
|
const wtv_system_chipversion_str = session_data.get("wtv-system-chipversion");
|
|
|
|
|
const notImplementedAlert = new clientShowAlert({
|
|
|
|
|
'image': minisrv_config.config.service_logo,
|
|
|
|
|
'message': "This feature is not available.",
|
|
|
|
|
'buttonlabel1': "Okay",
|
|
|
|
|
@@ -29,7 +28,7 @@ var notImplementedAlert = new clientShowAlert({
|
|
|
|
|
'noback': true,
|
|
|
|
|
}).getURL();
|
|
|
|
|
|
|
|
|
|
var ownMinisrv = new clientShowAlert({
|
|
|
|
|
const ownMinisrv = new clientShowAlert({
|
|
|
|
|
'image': minisrv_config.config.service_logo,
|
|
|
|
|
'message': "To run your own minisrv, please visit the following link on your PC:<br><br><strong>https://zef.pw/minisrv</strong>",
|
|
|
|
|
'buttonlabel1': "Okay",
|
|
|
|
|
@@ -37,7 +36,7 @@ var ownMinisrv = new clientShowAlert({
|
|
|
|
|
'noback': true,
|
|
|
|
|
}).getURL();
|
|
|
|
|
|
|
|
|
|
var supportZefieAlert = new clientShowAlert({
|
|
|
|
|
const supportZefieAlert = new clientShowAlert({
|
|
|
|
|
'image': minisrv_config.config.service_logo,
|
|
|
|
|
'message': "If you would like to support zefie or minisrv, please visit the following link on your PC:<br><br><font size=-1><strong>https://zef.pw/helpminisrv</strong></font>",
|
|
|
|
|
'buttonlabel1': "Okay",
|
|
|
|
|
|