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