set api placement connect server

This commit is contained in:
Kittapath 2023-07-13 12:30:57 +07:00
parent dbd67bbd7e
commit 37b3fa9f0c
2 changed files with 5 additions and 4 deletions

View file

@ -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 {

View file

@ -8,8 +8,8 @@ const env = ref<string>(process.env.NODE_ENV || "development");
const config = ref<any>({
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<any>({
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",