Function: defaultBarUrl()
defaultBarUrl(
loc?):string
Defined in: ui/client.ts:54
Derive the relay's client URL from the page's own location — the way pencil's iPad client does. Defaults to /bar/client on the same host, wss: under https. A consumer served off a different origin than the channel (a Vite dev server on another port) passes an explicit url instead.
Parameters
loc?
Location = window.location
Returns
string