From afe68fee9f7f038ad84f0c69b9a817e030c85284 Mon Sep 17 00:00:00 2001 From: Mateusz779 Date: Wed, 19 Apr 2023 09:47:30 +0200 Subject: [PATCH] - --- templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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