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:
wearr 2024-04-03 16:30:42 -05:00 committed by GitHub
parent 76e7d64dac
commit 78e5c42fbd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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`.