Developer Preview Feature
DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!
Let us know so we can improve!
Use StrictTransportSecurity to configure the Strict-Transport-Security header.
1interface StrictTransportSecurity {
2 maxAge: number;
3 includeSubDomains: boolean;
4 preload: boolean;
5}You can customize these directives for a Strict-Transport-Security header. Set values for them in a StrictTransportSecurity object.
max-age (number)includeSubDomains (boolean)preload
For information about each directive, see MDN Web Docs: Strict-Transport-Security Directives
1"strictTransportSecurity":
2 {
3 "maxAge": 15552000;
4 "includeSubDomains": true;
5 "preload": true;
6 }See Also
Developer Preview Feature