hstsMiddleware
Return a Hono-compatible middleware that appends the Strict-Transport-Security
header to every response.
Parameters
None.
Returns
(c: any, next: () => Promise<void>) => Promise<void> — A Hono middleware function.
Return a Hono-compatible middleware that appends the Strict-Transport-Security
header to every response.
None.
(c: any, next: () => Promise<void>) => Promise<void> — A Hono middleware function.