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(); } };