From 098bc307960955b1ab2c433965c97afa6f31a016 Mon Sep 17 00:00:00 2001 From: zeus Date: Sun, 21 Nov 2021 00:49:37 +0200 Subject: [PATCH] auto check --- playground-client/src/App.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/playground-client/src/App.vue b/playground-client/src/App.vue index ce287ee..bc7a496 100644 --- a/playground-client/src/App.vue +++ b/playground-client/src/App.vue @@ -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);