From 5c1de680294b20eb6cb0df71a023e22af4190124 Mon Sep 17 00:00:00 2001 From: Kevin Jahns Date: Tue, 12 Dec 2023 16:30:36 +0100 Subject: [PATCH] prosemirror demo url --- prosemirror/prosemirror.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prosemirror/prosemirror.js b/prosemirror/prosemirror.js index 59385cc..30259e7 100644 --- a/prosemirror/prosemirror.js +++ b/prosemirror/prosemirror.js @@ -11,7 +11,7 @@ import { keymap } from 'prosemirror-keymap' window.addEventListener('load', () => { const ydoc = new Y.Doc() - const provider = new WebsocketProvider('ws://localhost:3000/ws', 'prosemirror-demo', ydoc) + const provider = new WebsocketProvider('wss://demos.yjs.dev/ws', 'prosemirror-demo', ydoc) const yXmlFragment = ydoc.getXmlFragment('prosemirror') const editor = document.createElement('div')