update api index
This commit is contained in:
parent
8eee779e14
commit
71884b950f
1 changed files with 7 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ const env = ref<string>(process.env.NODE_ENV || "development");
|
|||
|
||||
const config = ref<any>({
|
||||
development: {
|
||||
// API_URI: "https://localhost:7006/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", //ใช้ชั่วคราว
|
||||
|
|
@ -18,6 +18,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_URI_ORG_TREE:
|
||||
"https://s3cluster.frappet.com/bma-ehr-fpt/organization/strueture/tree_20230707_115124.json",
|
||||
MEET_URI: "meet.frappet.com",
|
||||
},
|
||||
test: {
|
||||
|
|
@ -33,6 +35,8 @@ const config = ref<any>({
|
|||
API_URI_PROFILE_SERVICE: `${window.location.protocol}//${window.location.host}/api/v1`,
|
||||
API_CANDIDATE_URI: `${window.location.protocol}//${window.location.host}/api/v1`,
|
||||
API_REPORT_URI: `${window.location.protocol}//${window.location.host}/api/v1`,
|
||||
API_URI_ORG_TREE:
|
||||
"https://s3cluster.frappet.com/bma-ehr-fpt/organization/strueture/tree_20230707_115124.json",
|
||||
MEET_URI: "meet.frappet.com",
|
||||
},
|
||||
});
|
||||
|
|
@ -49,6 +53,7 @@ const MEET_URI = ref<string>(config.value[env.value].MEET_URI);
|
|||
const API_URI_PROFILE_SERVICE = ref<string>(
|
||||
config.value[env.value].API_URI_PROFILE_SERVICE
|
||||
);
|
||||
const API_URI_ORG_TREE = ref<string>(config.value[env.value].API_URI_ORG_TREE);
|
||||
|
||||
export default {
|
||||
env: env.value,
|
||||
|
|
@ -58,5 +63,6 @@ export default {
|
|||
API_REPORT_URI: API_REPORT_URI.value,
|
||||
API_URI_ORG_SERVICE: API_URI_ORG_SERVICE.value,
|
||||
API_URI_PROFILE_SERVICE: API_URI_PROFILE_SERVICE.value,
|
||||
API_URI_ORG_TREE: API_URI_ORG_TREE.value,
|
||||
MEET_URI: MEET_URI.value,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue