bug i uaktualnienie skryptu aktualizujacego

This commit is contained in:
2023-04-21 10:11:58 +02:00
parent 7297474469
commit 135eb3b32b
2 changed files with 8 additions and 5 deletions

View File

@@ -86,7 +86,7 @@
</div>
<script>
function ssh(ipvpn, iplocal username, password) {
function ssh(ipvpn, iplocal, username, password) {
const currentLocation = window.location;
let ip = ipvpn != null ? ipvpn : iplocal;
const newUrl = currentLocation.protocol + '//' + currentLocation.hostname + ':' + {{ ssh_port }} + "/?hostname="+ip+"&username="+username+"&password="+btoa(password);