We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4c4c7c commit 334f8d6Copy full SHA for 334f8d6
1 file changed
docs/documentation/multiplayer.md
@@ -218,22 +218,6 @@ either by a URL path or a lobby implementation.
218
The default storage implementation is an in-memory map.
219
If you want something that's more persistent, you can use one
220
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
-```
+your own connector.
238
239
See [here](storage.md) for more details about how to customize storage.
0 commit comments