ต่อ socket กับ server
This commit is contained in:
parent
efe7ab6b78
commit
8de2743eb1
4 changed files with 221 additions and 49 deletions
|
|
@ -47,6 +47,7 @@ export const useSupportStore = defineStore("supportServiceStore", () => {
|
|||
const socket = io(config.API.supportSocket, {
|
||||
auth: { token: keycloak.token },
|
||||
autoConnect: false,
|
||||
path: "/api/v1/support/socket/",
|
||||
});
|
||||
|
||||
socket.on("users", (data: SupportStatusUser[]) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue