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