Skip to content

Commit 957ab75

Browse files
committed
use publish ws server - fixes #64
1 parent f5530ef commit 957ab75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

codemirror.next/codemirror.next.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ export const userColor = usercolors[random.uint32() % usercolors.length]
2727
const ydoc = new Y.Doc()
2828
// const provider = new WebrtcProvider('codemirror6-demo-room', ydoc)
2929
const provider = new WebsocketProvider(
30-
// 'wss://demos.yjs.dev/ws', // use the public ws server
30+
'wss://demos.yjs.dev/ws', // use the public ws server
3131
// `ws${location.protocol.slice(4)}//${location.host}/ws`, // alternatively: use the local ws server (run `npm start` in root directory)
32-
'ws://localhost:3334',
32+
// 'ws://localhost:3334',
3333
'codemirror.next-demo-2024/06',
3434
ydoc
3535
)

0 commit comments

Comments
 (0)