mirror of
https://github.com/MercuryWorkshop/bare-mux.git
synced 2025-05-15 23:20:02 -04:00
change wss to https in the readme for bare transport
Bare transport only accepts a bare server on http(s) (at least as of now), but the readme specifies a wss url.
This commit is contained in:
parent
76e7d64dac
commit
78e5c42fbd
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +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", "wss://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`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue