Function: isPrivateNetworkHostname()
function isPrivateNetworkHostname(hostname: string): boolean;
Defined in: shared/utils/urlSafety.ts:917
Returns true when the hostname is considered private/local.
Parametersโ
hostnameโ
string
Returnsโ
boolean
Remarksโ
Used to prevent sending internal URLs to third-party services.