Aller au contenu
Français

hsts

Ce contenu n’est pas encore disponible dans votre langue.

const hsts: (options) => Middleware = strictTransportSecurity

Defined in: src/http/middleware/Hsts.ts:51

Short alias for strictTransportSecurity.

Build a middleware that adds Strict-Transport-Security to every response (without clobbering one a handler already set).

HstsOptions = {}

Middleware