mirror of
https://github.com/MercuryWorkshop/bare-mux.git
synced 2025-05-14 23:00:01 -04:00
Update README.md
This commit is contained in:
parent
7d66b21493
commit
bc91eb2af7
1 changed files with 2 additions and 3 deletions
|
@ -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`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue