pub async fn security_headers_middleware(req: Request, next: Next) -> ResponseExpand description
Axum middleware that adds security headers in production.
pub async fn security_headers_middleware(req: Request, next: Next) -> ResponseAxum middleware that adds security headers in production.