diff --git a/src/api/05_placement/api.placement.ts b/src/api/05_placement/api.placement.ts index 306bdee6b..db0318b9f 100644 --- a/src/api/05_placement/api.placement.ts +++ b/src/api/05_placement/api.placement.ts @@ -1,5 +1,5 @@ import env from "../index"; -const placement = `${env.API_PLACEMENT_URI}/Placement/placement`; +const placement = `${env.API_PLACEMENT_URI}/placement`; const orgTree = `${env.API_URI_ORG_TREE}`; export default { diff --git a/src/api/index.ts b/src/api/index.ts index 99db277a8..bf56f79fb 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -8,8 +8,8 @@ const env = ref(process.env.NODE_ENV || "development"); const config = ref({ development: { - API_URI: "https://localhost:7260/api", - // API_URI: "https://bma-ehr.frappet.synology.me/api/v1", + // API_URI: "https://localhost:7260/api", + API_URI: "https://bma-ehr.frappet.synology.me/api/v1", // API_URI_ORG_SERVICE: "https://localhost:7056/api/v1", //ใช้ชั่วคราว API_URI_ORG_SERVICE: "https://bma-ehr.frappet.synology.me/api/v1", //ใช้ชั่วคราว // API_URI_ORG_EMPLOYEE_SERVICE: "https://localhost:7208/api/v1", //ใช้ชั่วคราว @@ -20,7 +20,8 @@ const config = ref({ API_CANDIDATE_URI: "https://bma-ehr.frappet.synology.me/api/v1", // API_REPORT_URI: "https://localhost:7187/api/v1", API_REPORT_URI: "https://bma-ehr.frappet.synology.me/api/v1", - API_PLACEMENT_URI: "https://localhost:7260/api", + // API_PLACEMENT_URI: "https://localhost:7260/api", + API_PLACEMENT_URI: "https://bma-ehr.frappet.synology.me/api/v1", API_URI_ORG_TREE: "https://s3cluster.frappet.com/bma-ehr-fpt/organization/strueture/tree_20230712_172702.json", MEET_URI: "meet.frappet.com",