Skip to content

Commit 38c3b5f

Browse files
dev added
1 parent 0667c41 commit 38c3b5f

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
build
22
node_modules
3-
43
modules

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@codebolt/codeboltjs",
3-
"version": "1.1.71",
3+
"version": "1.1.72",
44
"description": "",
55
"keywords": [],
66
"author": "",

src/modules/websocket.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class cbws {
1515
const uniqueConnectionId = this.getUniqueConnectionId();
1616
const initialMessage = this.getInitialMessage();
1717
console.log(uniqueConnectionId)
18-
this.websocket = new WebSocket(`ws://localhost:${process.env.SOCKET_PORT}/codebolt?id=${uniqueConnectionId}`);
18+
this.websocket = new WebSocket(`ws://localhost:${process.env.SOCKET_PORT}/codebolt?id=${uniqueConnectionId}${process.env.Is_DEV ? '&dev=true' : ''}`);
1919
this.initializeWebSocket(initialMessage).catch(error => {
2020
console.error("WebSocket connection failed:", error);
2121
});

0 commit comments

Comments
 (0)