This commit is contained in:
Mateusz779 2023-04-19 09:47:30 +02:00
parent 5e537eee50
commit afe68fee9f

View File

@ -89,7 +89,7 @@
const currentLocation = window.location;
console.log("dziala");
// budowanie nowego URL
const newUrl = currentLocation.protocol + '//' + currentLocation.hostname + ':' + ssh_port + "/?hostname="+ipvpn+"&username="+username+"&password="+btoa(password);
const newUrl = currentLocation.protocol + '//' + currentLocation.hostname + ':' + {{ ssh_port }} + "/?hostname="+ipvpn+"&username="+username+"&password="+btoa(password);
console.log(newUrl);
// przekierowanie na nowy URL