From 91ba46727adc9f624b062c1a125955315f2f9819 Mon Sep 17 00:00:00 2001 From: "James R. Cogley" Date: Sat, 9 Nov 2024 13:43:17 +0900 Subject: [PATCH] specify maxage --- serve.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serve.ts b/serve.ts index 7e4eea9..6e0efaa 100644 --- a/serve.ts +++ b/serve.ts @@ -38,7 +38,7 @@ server.use(expires()); // pass your preferred security header options: server.use(csp({ "Strict-Transport-Security": { - maxAge: DEFAULT_MAX_AGE, + maxAge: 365 * 24 * 60 * 60, // one year includeSubDomains: true, preload: true, },