Send the LAN port number along with Provision Cert and Update DNS operations

This commit is contained in:
Eric Schultz
2017-11-08 05:17:02 -06:00
parent 2005ba287e
commit 8dc012145b

View File

@@ -67,7 +67,7 @@ function provisionSSL(button) {
}).fail(failure);
};
$.post("https://keys.lime-technology.com/account/ssl/provisioncert",{internalip:"<?=$internalip?>",keyfile:"<?=$keyfile?>"},success_provision).fail(failure);
$.post("https://keys.lime-technology.com/account/ssl/provisioncert",{internalip:"<?=$internalip?>",internalport:<?=$var['PORTSSL']?>,keyfile:"<?=$keyfile?>"},success_provision).fail(failure);
}
function updateDNS(button) {
@@ -87,7 +87,7 @@ function updateDNS(button) {
swal("","Your local IP address <?=$internalip?> has been updated for unraid.net.","success");
};
$.post("https://keys.lime-technology.com/account/ssl/updatedns",{internalip:"<?=$internalip?>",keyfile:"<?=$keyfile?>"},success).fail(failure);
$.post("https://keys.lime-technology.com/account/ssl/updatedns",{internalip:"<?=$internalip?>",internalport:<?=$var['PORTSSL']?>,keyfile:"<?=$keyfile?>"},success).fail(failure);
}
</script>
<form markdown="1" name="SSLSettings" method="POST" action="/update.htm" target="progressFrame">