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