mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 22:36:14 +08:00
rotate room numbers, move back to hocuspocus.cloud
This commit is contained in:
parent
eb68f799eb
commit
57a9e864f4
@ -18,7 +18,7 @@ import * as Y from 'yjs'
|
||||
import MenuBar from './MenuBar'
|
||||
|
||||
const colors = ['#958DF1', '#F98181', '#FBBC88', '#FAF594', '#70CFF8', '#94FADB', '#B9F18D']
|
||||
const rooms = ['rooms.33', 'rooms.34', 'rooms.35']
|
||||
const rooms = ['rooms.10', 'rooms.11', 'rooms.12']
|
||||
const names = [
|
||||
'Lea Thompson',
|
||||
'Cyndi Lauper',
|
||||
@ -57,7 +57,7 @@ const room = getRandomRoom()
|
||||
|
||||
const ydoc = new Y.Doc()
|
||||
const websocketProvider = new HocuspocusProvider({
|
||||
url: 'wss://connect.gethocuspocus.com',
|
||||
url: 'wss://connect.hocuspocus.cloud',
|
||||
parameters: {
|
||||
key: 'write_bqgvQ3Zwl34V4Nxt43zR',
|
||||
},
|
||||
|
@ -40,9 +40,9 @@ const getRandomElement = list => {
|
||||
|
||||
const getRandomRoom = () => {
|
||||
return getRandomElement([
|
||||
'rooms.33',
|
||||
'rooms.34',
|
||||
'rooms.35',
|
||||
'rooms.10',
|
||||
'rooms.11',
|
||||
'rooms.12',
|
||||
])
|
||||
}
|
||||
|
||||
@ -69,7 +69,7 @@ export default {
|
||||
const ydoc = new Y.Doc()
|
||||
|
||||
this.provider = new HocuspocusProvider({
|
||||
url: 'wss://connect.gethocuspocus.com',
|
||||
url: 'wss://connect.hocuspocus.cloud',
|
||||
parameters: {
|
||||
key: 'write_bqgvQ3Zwl34V4Nxt43zR',
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user