GUI chat
This commit is contained in:
parent
f25a439804
commit
0a98d96d38
9 changed files with 6862 additions and 9 deletions
10
src/api/00_support/api.support.ts
Normal file
10
src/api/00_support/api.support.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import env from "../index";
|
||||
|
||||
export const supportIssue = `${env.API_SUPPORT_URI}/issue`;
|
||||
export const supportMessage = (id: string) =>
|
||||
`${env.API_SUPPORT_URI}/issue/${id}/message`;
|
||||
|
||||
export default {
|
||||
supportIssue,
|
||||
supportMessage,
|
||||
};
|
||||
|
|
@ -35,6 +35,7 @@ const config = ref<any>({
|
|||
LINK_EVALUATE_PUBLISH: "https://bma-ehr-publish.frappet.synology.me",
|
||||
API_REPORT_TEMPLATE_URI:
|
||||
"https://report-server.frappet.synology.me/api/v1/report-template",
|
||||
API_SUPPORT_URI: "http://192.168.1.10:3000/api/support/v1",
|
||||
},
|
||||
test: {
|
||||
API_URI: "http://localhost:5010/api/v1",
|
||||
|
|
@ -62,6 +63,7 @@ const config = ref<any>({
|
|||
},
|
||||
});
|
||||
|
||||
const API_SUPPORT_URI = ref<string>(config.value[env.value].API_SUPPORT_URI);
|
||||
const API_URI = ref<string>(config.value[env.value].API_URI);
|
||||
const API_CANDIDATE_URI = ref<string>(
|
||||
config.value[env.value].API_CANDIDATE_URI
|
||||
|
|
@ -112,4 +114,5 @@ export default {
|
|||
API_REPORT2_URI: API_REPORT2_URI.value,
|
||||
LINK_EVALUATE_PUBLISH: LINK_EVALUATE_PUBLISH.value,
|
||||
API_REPORT_TEMPLATE_URI: API_REPORT_TEMPLATE_URI.value,
|
||||
API_SUPPORT_URI: API_SUPPORT_URI.value,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue