enhance: socketio sharing /api route
This commit is contained in:
parent
1570c174cc
commit
0c5018147e
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@ import { SocketConnectionTypes } from "./enums/socketEnum";
|
||||||
|
|
||||||
export abstract class SocketManager {
|
export abstract class SocketManager {
|
||||||
private static readonly manager = new Manager(url, {
|
private static readonly manager = new Manager(url, {
|
||||||
|
path: "/api/socket.io",
|
||||||
reconnection: true,
|
reconnection: true,
|
||||||
reconnectionDelayMax: 10000,
|
reconnectionDelayMax: 10000,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue