Web network options
Last updated: October 28, 2024
This topic describes how to configure Web SDK network options.
Option type | Option name | Description | Default | Example |
---|---|---|---|---|
Network timeout | network_timeout
|
iProov recommends not setting a lower value. |
10 seconds | network_timeout="20"
|
Base URL | base_url
|
Use this setting to switch to another multi-tenant platform or a reverse proxy. |
EU multi-tenant platform | base_url="wss://eu.rp.secure.iproov.me"
|
Assets URL | assets_url
|
Self hosting fonts, images, and other assets. Self hosting is recommended for production. |
iProov CDN | assets_url="https://cdn.iproov.app/assets"
|
CSP nonce | csp_nonce
|
Set the CSP nonce to avoid unsafe-inline. | csp_nonce="P5wB82PFZt"
|
Next step