diff --git a/playground-client/src/components/doclive/AdhocView.vue b/playground-client/src/components/doclive/AdhocView.vue index 4b11367..6819855 100644 --- a/playground-client/src/components/doclive/AdhocView.vue +++ b/playground-client/src/components/doclive/AdhocView.vue @@ -666,10 +666,10 @@ export default { created() { //LEFOS TOKEN ==== - //this.token = new URL(location.href).searchParams.get("token"); - this.token = new URL( - "https://api-client.swarmlab.io:8088/?token=59e732744987bc63a98a4f909d50984371b44543" - ).searchParams.get("token"); + this.token = new URL(location.href).searchParams.get("token"); + //this.token = new URL( + // "https://api-client.swarmlab.io:8088/?token=59e732744987bc63a98a4f909d50984371b44543" + //).searchParams.get("token"); this.swarmlabname = new URL(location.href).searchParams.get("pipelinename"); diff --git a/playground-client/src/components/doclive/runLlo.vue b/playground-client/src/components/doclive/runLlo.vue index 7eee668..b75afa5 100644 --- a/playground-client/src/components/doclive/runLlo.vue +++ b/playground-client/src/components/doclive/runLlo.vue @@ -619,12 +619,12 @@ export default { */ created() { - //var logintoken = new URL(location.href).searchParams.get("token"); + var logintoken = new URL(location.href).searchParams.get("token"); // ΕΔΩ ΠΡΠΕΕΙ ΝΑ ΑΛΛΑΧΤΕΙ ΤΟ URL ΩΣΤΕ ΝΑ ΚΑΝΕΙ AUTHENTICATION - var logintoken = new URL( - "https://api-client.swarmlab.io:8088/?token=b0dddc676d2491d8e98632d8afc636b6a28f1234" - ).searchParams.get("token"); + //var logintoken = new URL( + // "https://api-client.swarmlab.io:8088/?token=b0dddc676d2491d8e98632d8afc636b6a28f1234" + //).searchParams.get("token"); this.logintoken = logintoken; // === We get the user + check for the token if exists this.checktoken(this.logintoken);