property CorsOptions.enabled

Enable/disable CORS. Defaults to true when present.

Type

boolean

Usage

import { type CorsOptions } from "http-security-plugin/src/index.ts";