แก้ไข api socket (support)

This commit is contained in:
puri-ph4tt 2024-02-06 10:03:45 +07:00
parent 039d6ede24
commit 00397f5e57
3 changed files with 10 additions and 2 deletions

View file

@ -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,
});