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

  • Optionalenabled?: boolean

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