fix maibi
This commit is contained in:
parent
314730bf4b
commit
5260f6fbbe
@ -14,6 +14,7 @@ export const useSocketStore: StoreDefinition = defineStore('socket', {
|
|||||||
actions: {
|
actions: {
|
||||||
initConnection() {
|
initConnection() {
|
||||||
this.connection = io(config.server_endpoint, {
|
this.connection = io(config.server_endpoint, {
|
||||||
|
secure: !config.development,
|
||||||
withCredentials: true,
|
withCredentials: true,
|
||||||
transports: ['websocket'],
|
transports: ['websocket'],
|
||||||
reconnectionAttempts: 5
|
reconnectionAttempts: 5
|
||||||
|
Loading…
x
Reference in New Issue
Block a user