diff --git a/src/api/index.ts b/src/api/index.ts index 9ae0b30..9aa046f 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -9,7 +9,7 @@ const env = ref(process.env.NODE_ENV || 'development') const config = ref({ development: { // API_URI: 'https://localhost:7007/api/v1', - API_URI: 'https://bma-ehr-exam.frappet.synology.me/api/v1', + API_URI: 'https://bma-ehr.frappet.synology.me/api/v1', API_METADATA_URI: 'https://bma-ehr.frappet.synology.me/api/v1/metadata', MEET_URI: 'meet.frappet.com' }, @@ -19,7 +19,7 @@ const config = ref({ }, production: { // API_URI: "https://localhost:5010", - API_URI: `${window.location.protocol}//${window.location.host}/api/v1`, + API_URI: 'https://bma-ehr.frappet.synology.me/api/v1', API_METADATA_URI: 'https://bma-ehr.frappet.synology.me/api/v1/metadata', MEET_URI: 'meet.frappet.com' }