|
@ -98,7 +98,7 @@ export default { |
|
|
//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=8ee68923f567ad2fb5835f579c4d74f0cad6b1d1"; |
|
|
"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); |
|
|