interface FeaturePolicyOptions

Interface for the featurePolicy middleware options. By default, the 'Feature-Policy' header will not be set.

Properties

features: { [featureName: string]: string[]; }

The features for the 'Feature-Policy' header.

Usage

import { type FeaturePolicyOptions } from "types/mod.ts";