v0.9.37
- remove extra debugging - fix: could not unregister if multiple users existed - fix: http(s) proxy - add example in user_config.example.json to use public proxy - maybe fix: double reg - add support for "modpacks" to viewergen - first mod is "BackgroundSound" by @Sgeo (and https://github.com/elishacloud/dxwrapper)
This commit is contained in:
@@ -67,11 +67,11 @@ hspace="0" vspace="0" fontsize="large" noscroll>
|
||||
|
||||
|
||||
function doConnect() {
|
||||
// if (document.connect.machine.value == "${minisrv_config.services['wtv-1800'].host}" && document.connect.port.value == "${minisrv_config.services['wtv-1800'].port}") {
|
||||
// alert("You are already here!");
|
||||
// } else {
|
||||
if (document.connect.machine.value == "${minisrv_config.services['wtv-1800'].host}" && document.connect.port.value == "${minisrv_config.services['wtv-1800'].port}") {
|
||||
alert("You are already here!");
|
||||
} else {
|
||||
document.connect.submit();
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
function setOther() {
|
||||
@@ -103,7 +103,7 @@ hspace="0" vspace="0" fontsize="large" noscroll>
|
||||
document.message.msg.value='Default WebTV Production IP/Port. Can be used to check your routing setup.'
|
||||
break;
|
||||
case "wni-int":
|
||||
document.connect.machine.value="192.168.11.8"
|
||||
document.connect.machine.value="10.0.128.1"
|
||||
document.connect.port.value="1615"
|
||||
document.message.msg.value='Default WebTV Internal IP/Port. Can be used to check your routing setup.'
|
||||
break;
|
||||
|
||||
@@ -11,7 +11,7 @@ if (!session_data.getSessionData("registered")) {
|
||||
} else if (session_data.user_id !== 0) {
|
||||
headers += "\nwtv-noback-all: wtv-";
|
||||
headers += "\nwtv-expire-all: wtv-";
|
||||
var redirect = [5, "wtv-tricks:/tricks"];
|
||||
var redirect = [5, "client:relogin?"];
|
||||
var message = "Error: You must be the primary user to unregister this box.";
|
||||
} else if (request_headers.query.confirm_unregister) {
|
||||
if (session_data.unregisterBox()) {
|
||||
|
||||
Reference in New Issue
Block a user