docs: update content

This commit is contained in:
Hans Pagel
2021-04-15 21:48:19 +02:00
parent 680ce9b7aa
commit accceccd09
77 changed files with 240 additions and 264 deletions

View File

@@ -22,19 +22,17 @@ Be nice! The content of this editor is shared with other users from the Internet
In case youre wondering what kind of sorcery you need on the server to achieve this, here is the whole backend code for the demo:
:::warning Request early access
Our plug & play collaboration backend hocuspocus is still work in progress. If you want to give it a try, [request early access](https://hocuspocus.dev/).
Our plug & play collaboration backend hocuspocus is still work in progress. If you want to give it a try, [request early access](https://www.hocuspocus.dev).
:::
```js
import { Server } from '@hocuspocus/server'
import { RocksDB } from '@hocuspocus/rocksdb'
import { RocksDB } from '@hocuspocus/extension-rocksdb'
const server = Server.configure({
port: 80,
extensions: [
new RocksDB({
path: './database',
})
new RocksDB({ path: './database' }),
],
})