ผูก API ประเมินในส่วนของเอกสารต้นแบบใน step 2 #110

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-12-14 15:12:22 +07:00
parent d71b2a172f
commit d335632e59
4 changed files with 104 additions and 27 deletions

View file

@ -11,7 +11,6 @@ const config = ref<any>({
// API_URI: "https://localhost:7260/api",
API_URI: "https://bma-ehr.frappet.synology.me/api/v1",
MEET_URI: "meet.frappet.com",
API_GEN_REPORT: "https://report-server.frappet.synology.me/api/v1",
},
test: {
API_URI: "http://localhost:5010/api/v1",
@ -27,12 +26,10 @@ const config = ref<any>({
const API_URI = ref<string>(config.value[env.value].API_URI);
const MEET_URI = ref<string>(config.value[env.value].MEET_URI);
const API_GEN_REPORT = ref<string>(config.value[env.value].API_GEN_REPORT);
export default {
env: env.value,
config: config.value,
API_URI: API_URI.value,
MEET_URI: MEET_URI.value,
API_GEN_REPORT: API_GEN_REPORT.value,
};