HstsConfig = object
Defined in: packages/modelence/src/app/securityHeaders.ts:15
Options for the Strict-Transport-Security header.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
HstsConfig = object
Defined in: packages/modelence/src/app/securityHeaders.ts:15
Options for the Strict-Transport-Security header.
| Property | Type | Description | Defined in |
|---|---|---|---|
includeSubDomains? | boolean | Apply the policy to every subdomain as well. Defaults to false. | packages/modelence/src/app/securityHeaders.ts:19 |
maxAge? | number | Seconds the browser should remember to use HTTPS only. Defaults to one year. | packages/modelence/src/app/securityHeaders.ts:17 |
preload? | boolean | Signal consent to inclusion in browsers’ HSTS preload list. Requires includeSubDomains and a maxAge of at least one year. | packages/modelence/src/app/securityHeaders.ts:24 |