Now.js Framework Documentation

Now.js Framework Documentation

SecurityConfig

EN 18 Nov 2026 02:27

SecurityConfig

Loaded on demand — part of the feature bundle now.securityconfig.min.js, not of now.core.min.js, and no markup loads it: call await 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-run docs_scaffold when 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