interface ExpectCtOptions

Interface for the expectCt middleware options. By default, the 'Expect-CT' header will be set to 'maxAge=0'

Properties

optional
maxAge: number

The maximum age of the 'Expect-CT' header.

optional
enforce: boolean

Whether to enforce the 'Expect-CT' header.

optional
reportUri: string

The report URI for the 'Expect-CT' header.

Usage

import { type ExpectCtOptions } from ".";