diff --git a/.env b/.env index b45ca7f6..5c343663 100644 --- a/.env +++ b/.env @@ -1,4 +1,4 @@ # NODE_ENV = 'production' NODE_ENV = 'development' # VUE_APP_BASE_URL = 'http://18.167.251.121:10086' -VUE_APP_BASE_URL = 'https://poly.api.aida.com.hk/' +VUE_APP_BASE_URL = 'https://polyu.api.aida.com.hk/' diff --git a/.env.production b/.env.production index 9bd0ac91..06eb8443 100644 --- a/.env.production +++ b/.env.production @@ -1,3 +1,3 @@ NODE_ENV = 'production' # VUE_APP_BASE_URL = 'http://18.167.251.121:10086' -VUE_APP_BASE_URL = 'https://poly.api.aida.com.hk/' +VUE_APP_BASE_URL = 'https://polyu.api.aida.com.hk/' diff --git a/public/image/favicon.ico b/public/image/favicon.ico new file mode 100644 index 00000000..dc5a442a Binary files /dev/null and b/public/image/favicon.ico differ diff --git a/src/main.ts b/src/main.ts index 75634a65..d0877069 100644 --- a/src/main.ts +++ b/src/main.ts @@ -61,7 +61,9 @@ async function isMurmur() { let randomNum: any = Math.floor(Math.random() * 9000000000000000) + 1000000000000000; sessionStorage.setItem('sessionId', randomNum); router.push("/home"); - // localStorage.setItem('murmurStr',murmurStr) + if(window.location.search.substring(1)){ + localStorage.setItem('id',window.location.search.substring(1)) + } }) .catch((res) => { });