แก้ไข api socket (support)
This commit is contained in:
parent
039d6ede24
commit
00397f5e57
3 changed files with 10 additions and 2 deletions
|
|
@ -13,6 +13,7 @@ const config = ref<any>({
|
|||
// API_URI: "https://localhost:7260/api",
|
||||
API_URI: "https://bma-ehr.frappet.synology.me/api/v1",
|
||||
API_URL_SUPPORT: "http://192.168.1.10:3000/api/v1/support",
|
||||
API_SUPPORT_SOCKET: "http://192.168.1.10:3000/",
|
||||
MEET_URI: "meet.frappet.com",
|
||||
LINK_EVALUATE_PUBLISH: "https://bma-ehr-publish.frappet.synology.me",
|
||||
},
|
||||
|
|
@ -23,6 +24,7 @@ const config = ref<any>({
|
|||
production: {
|
||||
API_URI: apiUrlConfig,
|
||||
API_URL_SUPPORT: "http://192.168.1.10:3000/api/v1/support",
|
||||
API_SUPPORT_SOCKET: "http://192.168.1.10:3000/",
|
||||
API_URI_ORG_TREE:
|
||||
"https://s3cluster.frappet.com/bma-ehr-fpt/organization/strueture/tree_20230707_115124.json",
|
||||
MEET_URI: "meet.frappet.com",
|
||||
|
|
@ -31,7 +33,10 @@ const config = ref<any>({
|
|||
});
|
||||
|
||||
const API_URI = ref<string>(config.value[env.value].API_URI);
|
||||
const API_URL_SUPPORT = ref<string>(config.value[env.value].API_URL_SUPPORT)
|
||||
const API_URL_SUPPORT = ref<string>(config.value[env.value].API_URL_SUPPORT);
|
||||
const API_SUPPORT_SOCKET = ref<string>(
|
||||
config.value[env.value].API_SUPPORT_SOCKET
|
||||
);
|
||||
const MEET_URI = ref<string>(config.value[env.value].MEET_URI);
|
||||
const LINK_EVALUATE_PUBLISH = ref<string>(
|
||||
config.value[env.value].LINK_EVALUATE_PUBLISH
|
||||
|
|
@ -42,6 +47,7 @@ export default {
|
|||
config: config.value,
|
||||
API_URI: API_URI.value,
|
||||
API_URL_SUPPORT: API_URL_SUPPORT.value,
|
||||
API_SUPPORT_SOCKET: API_SUPPORT_SOCKET.value,
|
||||
MEET_URI: MEET_URI.value,
|
||||
LINK_EVALUATE_PUBLISH: LINK_EVALUATE_PUBLISH.value,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
import env from "../index";
|
||||
|
||||
const support = `${env.API_URL_SUPPORT}`;
|
||||
const socket = `${env.API_SUPPORT_SOCKET}`;
|
||||
|
||||
export default {
|
||||
supportMessageStatus: (id: string) => `${support}/issue/${id}/message-status`,
|
||||
|
|
@ -21,4 +22,5 @@ export default {
|
|||
|
||||
supportIssueCategory: `${support}/issue-category`,
|
||||
supportNewIssue: `${support}/issue`,
|
||||
supportSocket: `${socket}`,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue