diff --git a/random.js b/random.js index f07af9c..f6a46cc 100644 --- a/random.js +++ b/random.js @@ -28,10 +28,11 @@ function getAppKey(){ const currentTime = new Date().getSeconds(); const isEven = currentTime % 2 === 0; if (isEven) { - sessionStorage.setItem('appKey', '27a4a87d6e27e86a7cd64de89cb3ec8d');//Delivery Site + appKey = '27a4a87d6e27e86a7cd64de89cb3ec8d';//Delivery Site } else { - sessionStorage.setItem('appKey', 'c012eed591418a9aa7e1655a6bb83039' );//zylker + appKey = 'c012eed591418a9aa7e1655a6bb83039';//zylker } + sessionStorage.setItem('appKey', appKey); } return appKey;