แก้ไข api socket (support)
This commit is contained in:
parent
039d6ede24
commit
00397f5e57
3 changed files with 10 additions and 2 deletions
|
|
@ -30,7 +30,7 @@ export const useSupportStore = defineStore("supportServiceStore", () => {
|
|||
const items = ref<any>([{}, {}, {}, {}, {}, {}, {}]);
|
||||
const scrollContainer = ref();
|
||||
|
||||
const socket = io("http://192.168.1.10:3000/", {
|
||||
const socket = io(config.API.supportSocket, {
|
||||
auth: { token: keycloak.token },
|
||||
autoConnect: false,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue