Browse Source

auto check

master
zeus 3 years ago
parent
commit
85523e4f15
  1. 8
      playground-client/src/components/doclive/AdhocView.vue
  2. 8
      playground-client/src/components/doclive/runLlo.vue

8
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");

8
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);

Loading…
Cancel
Save