We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3efc01 commit 0651f18Copy full SHA for 0651f18
libxtracfg/js/xtracfg-transport-websocket/src/index.ts
@@ -22,7 +22,7 @@ export const transport: TransportCreator = ({
22
const listeners: Listener[] = [];
23
allListeners.push(listeners);
24
25
- const socket = getSocket(specific.location || self.location, debug);
+ const socket = getSocket(specific?.location || self.location, debug);
26
27
socket.then((s) => {
28
s?.addEventListener("message", (event) => {
0 commit comments