เพิ่ม api log

This commit is contained in:
Net 2024-07-11 10:21:20 +07:00
parent d156c9e3c0
commit d196d32f7f

View file

@ -19,6 +19,7 @@ const config = ref<any>({
MEET_URI: "meet.frappet.com",
API_REPORT2_URI: "https://bma-ehr.frappet.synology.me/api/v2",
API_REPORT_TEMPLATE_URI: "https://report-server.frappet.synology.me/api/v1/report-template",
API_LOG:"http://192.168.1.90:20007/api/v1"
},
test: {
API_URI: "http://localhost:5010/api/v1",
@ -36,6 +37,7 @@ const config = ref<any>({
MEET_URI: "meet.frappet.com",
API_REPORT2_URI: `${window.location.protocol}//${window.location.host}/api/v2`,
API_REPORT_TEMPLATE_URI: "https://report-server.frappet.synology.me/api/v1/report-template",
API_LOG:"https://bma-ehr-admin.frappet.synology.me/api/v1/backup"
},
})
@ -47,6 +49,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_REPORT2_URI = ref<string>(config.value[env.value].API_REPORT2_URI)
const API_REPORT_TEMPLATE_URI = ref<string>(config.value[env.value].API_REPORT_TEMPLATE_URI)
const API_LOG = ref<string>(config.value[env.value].API_LOG)
export default {
env: env.value,
@ -59,4 +62,5 @@ export default {
MEET_URI: MEET_URI.value,
API_REPORT2_URI: API_REPORT2_URI.value,
API_REPORT_TEMPLATE_URI: API_REPORT_TEMPLATE_URI.value,
API_LOG:API_LOG.value
}