Skip to content

five-on-it / apps/client/src/ui/online / platformAddresses

Function: platformAddresses() ​

platformAddresses(text): string[]

Defined in: apps/client/src/ui/online.ts:162

The addresses to ask for a platform the player typed, in order: a site's address (play.example.com, https://xyz.ngrok-free.app) is asked at its /api first, where the Compose stack serves the API, then as typed; an address with a path only as typed. None for what is no http(s) address.

Parameters ​

text ​

string

Returns ​

string[]