interface FrameguardOptions

Interface for the frameguard middleware options. By default, the 'X-Frame-Options' header will not be set.

Properties

optional
action: string

The action for the 'X-Frame-Options' header.

optional
domain: string

The domain for the 'X-Frame-Options' header.

Usage

import { type FrameguardOptions } from ".";