From 7bb64aad1bcf8c66ef0304acd86eb4016d9b5955 Mon Sep 17 00:00:00 2001 From: Hans Pagel Date: Wed, 25 Nov 2020 16:50:12 +0100 Subject: [PATCH] fix collaborative editing document name --- docs/src/demos/Examples/CollaborativeEditingWs/index.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/src/demos/Examples/CollaborativeEditingWs/index.vue b/docs/src/demos/Examples/CollaborativeEditingWs/index.vue index 85163a2c..5664710c 100644 --- a/docs/src/demos/Examples/CollaborativeEditingWs/index.vue +++ b/docs/src/demos/Examples/CollaborativeEditingWs/index.vue @@ -139,8 +139,7 @@ export default { this.indexdb = new IndexeddbPersistence(this.documentName, this.ydoc) // this.provider = new WebrtcProvider(this.documentName, this.ydoc) - // this.provider = new WebsocketProvider('wss://demos.yjs.dev', 'tiptap', this.ydoc) - this.provider = new WebsocketProvider('ws://127.0.0.1:1234', 'tiptap', this.ydoc) + this.provider = new WebsocketProvider('ws://127.0.0.1:1234', this.documentName, this.ydoc) this.provider.on('status', event => { this.log.unshift({ timestamp: new Date(),