diff --git a/src/shared/composables/websocket.ts b/src/shared/composables/websocket.ts index dedea03..7044c2b 100644 --- a/src/shared/composables/websocket.ts +++ b/src/shared/composables/websocket.ts @@ -62,7 +62,7 @@ export class BaseWebSocket { public status: Ref = ref("disconnected") constructor(config: WebSocketConfig) { - this.url = `${import.meta.env.PUBLIC_WS_UR}/${config.path}/` + this.url = `${import.meta.env.PUBLIC_WS_URL}/${config.path}/` this.maxReconnectAttempts = config.maxReconnectAttempts ?? 5 this.reconnectDelay = config.reconnectDelay ?? 1000