Skip to content

Commit 334f8d6

Browse files
oliwOli W
andauthored
[Documentation] Remove references to removed MongoDB adapter (#659)
Co-authored-by: Oli W <[email protected]>
1 parent a4c4c7c commit 334f8d6

1 file changed

Lines changed: 1 addition & 17 deletions

File tree

docs/documentation/multiplayer.md

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -218,22 +218,6 @@ either by a URL path or a lobby implementation.
218218
The default storage implementation is an in-memory map.
219219
If you want something that's more persistent, you can use one
220220
of the bundled connectors for various backends, or even implement
221-
your own connector. For example, here is how you can keep your
222-
game state in a MongoDB.
223-
224-
```js
225-
const { Server, Mongo } = require('boardgame.io/server');
226-
const { TicTacToe } = require('./game');
227-
228-
const server = Server({
229-
games: [TicTacToe],
230-
db: new Mongo({
231-
url: 'mongodb://...',
232-
dbname: 'bgio',
233-
}),
234-
});
235-
236-
server.run(8000);
237-
```
221+
your own connector.
238222

239223
See [here](storage.md) for more details about how to customize storage.

0 commit comments

Comments
 (0)