diff --git a/templates/index.html b/templates/index.html
index 8018f38..1ad5a46 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -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