From 78df12b7969be7d72548c77e5307b4598cbd345f Mon Sep 17 00:00:00 2001 From: Gregory Koronakos Date: Thu, 16 May 2024 11:00:14 +0300 Subject: [PATCH] Url change Change-Id: I09aefb9f317aba6d3fcf026f6fb624541762bdc1 --- cfsb-frontend/.env.production | 4 ++-- cfsb-frontend/src/App.vue | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/cfsb-frontend/.env.production b/cfsb-frontend/.env.production index e4e39ec..0af59a0 100644 --- a/cfsb-frontend/.env.production +++ b/cfsb-frontend/.env.production @@ -1,2 +1,2 @@ -VUE_APP_BACKEND_URL=http://127.0.0.1:8001 -VITE_BACKEND_URL=http://127.0.0.1:8001 \ No newline at end of file +VUE_APP_BACKEND_URL=http://cloud-fog-service-broker:8001 +VITE_BACKEND_URL=http://cloud-fog-service-broker:8001 \ No newline at end of file diff --git a/cfsb-frontend/src/App.vue b/cfsb-frontend/src/App.vue index 6a3b431..000c1b3 100644 --- a/cfsb-frontend/src/App.vue +++ b/cfsb-frontend/src/App.vue @@ -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(); } };