Skip to content
English

strictTransportSecurity

strictTransportSecurity(options?): Middleware

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

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

HstsOptions = {}

Middleware