Skip to content

Commit

Permalink
specify maxage
Browse files Browse the repository at this point in the history
  • Loading branch information
RickCogley committed Nov 9, 2024
1 parent f6d290c commit 91ba467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down

0 comments on commit 91ba467

Please sign in to comment.