interface SLSyOptions

Interface for the SLSy middleware options.

Properties

The options for the 'Cross-Origin-Resource-Policy' header.

The options for the 'DNS-Prefetch-Control' header.

optional
dontSniffMimetype: boolean | null

Whether to set the 'X-Content-Type-Options' header to 'nosniff'.

optional
expectCt: ExpectCtOptions | null

The options for the 'Expect-CT' header.

The options for the 'Expect' header.

The options for the 'Feature-Policy' header.

The options for the 'Frameguard' middleware.

The options for the X-Powered-By header.

optional
hsts: HstsOptions | null

The options for the 'HSTS' header.

optional
ienoopen: boolean | null

Whether to set the 'X-Download-Options' header to 'noopen'.

The options for the 'Referrer-Policy' header.

The options for the 'X-XSS-Protection' header.