We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d47d9b commit 4ade958Copy full SHA for 4ade958
Frontend/src/App/CodeEditor/YJSCollaborationService.ts
@@ -30,6 +30,7 @@ export interface Message {
30
}
31
32
class YjsCollaborationService {
33
+ private readonly WS_URL = `${import.meta.env.VITE_BACKEND_WS_URL}/ws`;
34
private doc: Y.Doc | null = null;
35
private provider: WebsocketProvider | null = null;
36
private fileSystemMap: Y.Map<FileNode[]> | null = null;
@@ -86,9 +87,7 @@ class YjsCollaborationService {
86
87
this.doc = new Y.Doc();
88
89
this.provider = new WebsocketProvider(
- // "ws://localhost:4000/ws",
90
- // "ws://144.24.128.44:4000/ws",
91
- "wss://www.rtc-app.linkpc.net/ws",
+ this.WS_URL,
92
this.currentCodespaceId,
93
this.doc
94
);
0 commit comments