docs(postgres-emitter): add dark version of the explanation diagram

This commit is contained in:
Damien Arrachequesne
2025-09-05 07:18:00 +02:00
parent 32257b6cb8
commit 96d907b9b5
3 changed files with 4 additions and 1 deletions

View File

@@ -2,7 +2,10 @@
The `@socket.io/postgres-emitter` package allows you to easily communicate with a group of Socket.IO servers from another Node.js process (server-side).
![Emitter diagram](./assets/emitter.png)
<picture>
<source media="(prefers-color-scheme: dark)" srcset="./assets/emitter_dark.png">
<img alt="Diagram of Socket.IO packets forwarded through PostgreSQL" src="./assets/emitter.png">
</picture>
It must be used in conjunction with [`@socket.io/postgres-adapter`](https://github.com/socketio/socket.io-postgres-adapter/).

Binary file not shown.

Before

Width:  |  Height:  |  Size: 100 KiB

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB