Browse Source

auto check

master
zeus 3 years ago
parent
commit
098bc30796
  1. 5
      playground-client/src/App.vue

5
playground-client/src/App.vue

@ -95,10 +95,9 @@ export default {
}, },
mounted() {}, mounted() {},
created() { created() {
//var url_string = window.location.href; var url_string = window.location.href;
//hardcoded token //hardcoded token
var url_string = //var url_string = "https://api-client.swarmlab.io:8088/?token=e9be7270f79238a464d6468a3d0e8c97081c708f";
"https://api-client.swarmlab.io:8088/?token=e9be7270f79238a464d6468a3d0e8c97081c708f";
var url = new URL(url_string); var url = new URL(url_string);
this.token = url.searchParams.get("token"); this.token = url.searchParams.get("token");
console.log("token " + this.token); console.log("token " + this.token);

Loading…
Cancel
Save