From 34d906627229b65450acff36b53031112822185e Mon Sep 17 00:00:00 2001 From: Kittapath Date: Tue, 9 May 2023 21:30:52 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=20path=20api?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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' }