From 63eb4d2510cbad70b3e1dd9f1e71e4fadea2c6b0 Mon Sep 17 00:00:00 2001 From: win-chen <19295645+win-chen@users.noreply.github.com> Date: Wed, 16 Apr 2025 14:17:17 -0400 Subject: [PATCH] Update README.md Based on readme I had expected GET localhost:9000/mypath/peers. Actual is GET localhost:9000/mypath/get/peers --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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` |