Skip to content

Function: normalizeInstanceDomain() ​

ts
function normalizeInstanceDomain(value): string | null;

Defined in: guid.ts:84

Turn what someone typed or configured into an instance domain: lowercased, and without a scheme, path or trailing dot. Accepts https://Chat.Example.com/invite/x.

Parameters ​

ParameterType
valuestring

Returns ​

string | null

Released under the GNU Affero General Public License v3.0.