Type alias HSTSMiddlewareSettings

HSTSMiddlewareSettings: HSTSMiddlewarePartialOptions & {
    enabled?: boolean;
}

The options for the middleware creator that will create the middleware, or not, depending on the enabled option.

Type declaration

  • Optional enabled?: boolean

    If it's not true, it won't return the middleware.

Generated using TypeDoc