From 12134ed1f1d493d783649a2be531a00e6937f8fa Mon Sep 17 00:00:00 2001 From: "DESKTOP-2S5P7D1\\Windows 10" Date: Fri, 1 Sep 2023 08:34:55 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=20path=20api=20?= =?UTF-8?q?=E0=B8=97=E0=B8=94=E0=B8=A5=E0=B8=AD=E0=B8=87=E0=B8=87=E0=B8=B2?= =?UTF-8?q?=E0=B8=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/index.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/api/index.ts b/src/api/index.ts index 4c46a4e20..910548b37 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -27,7 +27,7 @@ const config = ref({ MEET_URI: "meet.frappet.com", API_RETIREMENT_URI: "https://bma-ehr.frappet.synology.me/api/v1", // API_PROBATION_URI: "https://ehr.joolsoft.com/v1", - API_PROBATION_URI: "https://bmaehr.joolsoft.com/nodeapi/v1", + API_PROBATION_URI: "https://bma-ehr.frappet.synology.me/api/v1/probation", // API_PROBATION_URI: "http://192.168.1.151:7776/v1", API_REPORT2_URI: "https://bma-ehr.frappet.synology.me/api/v2", }, @@ -50,7 +50,7 @@ const config = ref({ "https://s3cluster.frappet.com/bma-ehr-fpt/organization/strueture/tree_20230707_115124.json", MEET_URI: "meet.frappet.com", API_RETIREMENT_URI: `${window.location.protocol}//${window.location.host}/api/v1`, - API_PROBATION_URI: "https://bmaehr.joolsoft.com/nodeapi/v1", + API_PROBATION_URI: `${window.location.protocol}//${window.location.host}/api/v1/probation`, API_REPORT2_URI: `${window.location.protocol}//${window.location.host}/api/v2`, }, }); @@ -80,9 +80,7 @@ const API_URI_ORG_TREE = ref(config.value[env.value].API_URI_ORG_TREE); const API_PROBATION_URI = ref( config.value[env.value].API_PROBATION_URI ); -const API_REPORT2_URI = ref( - config.value[env.value].API_REPORT2_URI -); +const API_REPORT2_URI = ref(config.value[env.value].API_REPORT2_URI); export default { env: env.value,