isLocalhostAllowed()
SIP Protocol API Reference v0.15.1
SIP Protocol API Reference / isLocalhostAllowed
Function: isLocalhostAllowed()
Section titled “Function: isLocalhostAllowed()”isLocalhostAllowed():
boolean
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:23100
Check if localhost URLs are explicitly allowed in production
Returns
Section titled “Returns”boolean
true if SIP_ALLOW_LOCALHOST_IN_PROD=true