normalizeHost
●utils · /index·function
Normalize a host header to a canonical or null if the
input is empty / malformed / a leading-dot value.
Signature
function normalizeHost(host: string): Hostname;Parameters
| Name | Type | Description |
|---|---|---|
host | string |
Related
ParsedHost AppName BuildEnv DevTld Hostname ShopHandle appFromHost isDevelopment