This commit is contained in:
Philipp Kühn 2021-11-03 21:11:27 +01:00
commit 1a1fe847c3
3 changed files with 3 additions and 3 deletions

View File

@ -54,7 +54,7 @@ const getRandomName = () => getRandomElement(names)
const room = getRandomRoom()
const ydoc = new Y.Doc()
const websocketProvider = new WebsocketProvider('wss://websocket.tiptap.dev', room, ydoc)
const websocketProvider = new WebsocketProvider('wss://connect.tiptap.dev', room, ydoc)
const getInitialUser = () => {
return JSON.parse(localStorage.getItem('currentUser')) || {

View File

@ -68,7 +68,7 @@ export default {
mounted() {
const ydoc = new Y.Doc()
this.provider = new WebsocketProvider('wss://websocket.tiptap.dev', this.room, ydoc)
this.provider = new WebsocketProvider('wss://connect.tiptap.dev', this.room, ydoc)
this.provider.on('status', event => {
this.status = event.status
})

View File

@ -25,7 +25,7 @@ cd Tiptap-example
```
## 2. Install the dependencies
Now that we have a standard boilerplate set up we can get started on getting Tiptap up and running! For this we will need to install two packages: `@tiptap/react` and `@tipta/starter-kit` which includes all the extensions you need to get started quickly.
Now that we have a standard boilerplate set up we can get started on getting Tiptap up and running! For this we will need to install two packages: `@tiptap/react` and `@tiptap/starter-kit` which includes all the extensions you need to get started quickly.
```bash
# install with npm