diff --git a/README.md b/README.md index 75dd12181..5760355d6 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ You can provide config object to `PeerServer` function or specify options for `p | ------------------------ | ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------: | :--------: | | `--port, -p` | `port` | Port to listen (number) | **Yes** | | | `--key, -k` | `key` | Connection key (string). Client must provide it to call API methods | No | `"peerjs"` | -| `--path` | `path` | Path (string). The server responds for requests to the root URL + path. **E.g.** Set the `path` to `/myapp` and run server on 9000 port via `peerjs --port 9000 --path /myapp` Then open http://127.0.0.1:9000/myapp - you should see a JSON reponse. | No | `"/"` | +| `--path` | `path` | Path (string). The server responds for requests to the root URL + path. **E.g.** Set the `path` to `/myapp` and run server on 9000 port via `peerjs --port 9000 --path /myapp` Then open http://127.0.0.1:9000/myapp - you should see a JSON response.| No | `"/"` | | `--proxied` | `proxied` | Set `true` if PeerServer stays behind a reverse proxy (boolean) | No | `false` | | `--expire_timeout, -t` | `expire_timeout` | The amount of time after which a message sent will expire, the sender will then receive a `EXPIRE` message (milliseconds). | No | `5000` | | `--alive_timeout` | `alive_timeout` | Timeout for broken connection (milliseconds). If the server doesn't receive any data from client (includes `pong` messages), the client's connection will be destroyed. | No | `60000` | diff --git a/__test__/models/realm.spec.ts b/__test__/models/realm.spec.ts index f95a32e3d..a131985a2 100644 --- a/__test__/models/realm.spec.ts +++ b/__test__/models/realm.spec.ts @@ -35,7 +35,7 @@ describe("Realm", () => { }); describe("#getClientsIds", () => { - it("should reflects on add/remove childs", () => { + it("should reflects on add/remove children", () => { const realm = new Realm(); const client = new Client({ id: "id", token: "" });