Function: isPrivateNetworkHostname()
isPrivateNetworkHostname(
hostname:string):boolean
Defined in: shared/utils/urlSafety.ts:568
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.