diff --git a/dynamix.unraid.net.plg b/dynamix.unraid.net.plg index 927a6d3d9..90ab459bb 100644 --- a/dynamix.unraid.net.plg +++ b/dynamix.unraid.net.plg @@ -853,7 +853,6 @@ function handleMessage(e) { hideRegWizard(function (){ $.get('/webGui/include/InstallKey.php', {url: data.license}, function() { console.log('New license key installed: ' + data.license); - setTimeout(function(){ location = '/Main'; }, 1000); }).fail(function() { console.error('Failed to license new key: ' + data.license); }); @@ -940,8 +939,8 @@ $arr['flashproduct'] = $var['flashProduct']; $arr['flashvendor'] = $var['flashVendor']; $arr['servername'] = $var['NAME']; $arr['serverip'] = $_SERVER['SERVER_ADDR']; -//$arr['internalport'] = $_SERVER['SERVER_PORT']; -//$arr['protocol'] = $_SERVER['REQUEST_SCHEME']; +$arr['internalport'] = $_SERVER['SERVER_PORT']; +$arr['protocol'] = $_SERVER['REQUEST_SCHEME']; echo json_encode($arr); ?>