Update README.md

This commit is contained in:
Percs 2024-05-05 15:53:33 -05:00 committed by GitHub
parent 7d66b21493
commit bc91eb2af7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,8 +42,7 @@ To switch between transports, use the `SetTransport` function.
import { SetTransport } from '@mercuryworkshop/bare-mux';
SetTransport("EpxMod.EpoxyClient", { wisp: "wss://wisp.mercurywork.shop" });
SetTransport("BareMod.BareClient", "https://some-bare-server.com" });
SetTransport("BareMod.BareClient", "https://some-bare-server.com");
```
If not using a bundler, include the `bare.cjs` file in releases and call `BareMux.SetTransport`.
If not using a bundler, extract the npm package in releases, and include the `bare.cjs` file and call `BareMux.SetTransport`.