Url change

Change-Id: I09aefb9f317aba6d3fcf026f6fb624541762bdc1
This commit is contained in:
Gregory Koronakos 2024-05-16 11:00:14 +03:00
parent 688d6ce649
commit 78df12b796
2 changed files with 8 additions and 3 deletions

View File

@ -1,2 +1,2 @@
VUE_APP_BACKEND_URL=http://127.0.0.1:8001
VITE_BACKEND_URL=http://127.0.0.1:8001
VUE_APP_BACKEND_URL=http://cloud-fog-service-broker:8001
VITE_BACKEND_URL=http://cloud-fog-service-broker:8001

View File

@ -194,6 +194,10 @@ export default {
console.error('Error fetching user:', error);
}
},
setDefaultUser() {
localStorage.setItem('fog_broker_user_uuid', 'e3ff4006-be5f-4e00-bbe1-e49a88b2541a');
localStorage.setItem('fog_broker_app_id', '2f7cc63df4b1da7532756f44345758da');
},
getURLparams() {
let app_in_url = false
let user_in_url = false
@ -226,7 +230,8 @@ export default {
},
mounted() {
this.getURLparams();
this.checkUserLogin();
// this.checkUserLogin();
this.setDefaultUser();
}
};
</script>