Now.js Framework Documentation
SecurityConfig
SecurityConfig
Loaded on demand — part of the feature bundle
now.securityconfig.min.js, not ofnow.core.min.js, and no markup loads it: callawait Now.require('SecurityConfig')before using it — see Feature bundles
SecurityConfig - Default security configurations Used to configure security settings for different environments
Generated from source on 2026-08-21. Descriptions come from JSDoc in the file.
Re-rundocs_scaffoldwhen the code changes; hand edits are lost on regeneration
Source
- File:
Now/js/SecurityConfig.js(116 lines) - Form: object literal (singleton)
Public methods (3)
getConfig(environment = 'production')
Get configuration for specific environment
getMergedConfig(environment = 'production', overrides = {})
Get merged configuration with overrides
mergeDeep(target, source)
Deep merge utility