diff --git a/README.md b/README.md index 75dd12181..a9a4786d2 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ You can provide config object to `PeerServer` function or specify options for `p | `--concurrent_limit, -c` | `concurrent_limit` | Maximum number of clients' connections to WebSocket server (number) | No | `5000` | | `--sslkey` | `sslkey` | Path to SSL key (string) | No | | | `--sslcert` | `sslcert` | Path to SSL certificate (string) | No | | -| `--allow_discovery` | `allow_discovery` | Allow to use GET `/peers` http API method to get an array of ids of all connected clients (boolean) | No | | +| `--allow_discovery` | `allow_discovery` | Allow to use GET `/get/peers` http API method to get an array of ids of all connected clients (boolean) | No | | | `--cors` | `corsOptions` | The CORS origins that can access this server | | | `generateClientId` | A function which generate random client IDs when calling `/id` API method (`() => string`) | No | `uuid/v4` |