diff --git a/apps/docs/next.config.mjs b/apps/docs/next.config.mjs index 4c0f11e429b..099ffc57ad6 100644 --- a/apps/docs/next.config.mjs +++ b/apps/docs/next.config.mjs @@ -74,7 +74,7 @@ const nextConfig = { headers: [ { key: 'Strict-Transport-Security', - value: process.env.VERCEL === '1' ? 'max-age=1200; includeSubDomains' : '', + value: process.env.VERCEL === '1' ? 'max-age=31536000; includeSubDomains; preload' : '', }, { key: 'X-Robots-Tag', @@ -97,7 +97,7 @@ const nextConfig = { headers: [ { key: 'Strict-Transport-Security', - value: process.env.VERCEL === '1' ? 'max-age=1200; includeSubDomains' : '', + value: process.env.VERCEL === '1' ? 'max-age=31536000; includeSubDomains; preload' : '', }, { key: 'X-Robots-Tag', diff --git a/apps/studio/next.config.js b/apps/studio/next.config.js index 7194d2f3a19..2980f24a8f2 100644 --- a/apps/studio/next.config.js +++ b/apps/studio/next.config.js @@ -494,7 +494,7 @@ const nextConfig = { key: 'Strict-Transport-Security', value: process.env.NEXT_PUBLIC_IS_PLATFORM === 'true' && process.env.VERCEL === '1' - ? 'max-age=1200; includeSubDomains' + ? 'max-age=31536000; includeSubDomains; preload' : '', }, { diff --git a/apps/www/next.config.mjs b/apps/www/next.config.mjs index 62fa7f28750..cc704a40d84 100644 --- a/apps/www/next.config.mjs +++ b/apps/www/next.config.mjs @@ -100,7 +100,7 @@ const nextConfig = { key: 'Strict-Transport-Security', value: process.env.NEXT_PUBLIC_IS_PLATFORM === 'true' && process.env.VERCEL === '1' - ? 'max-age=1200; includeSubDomains' + ? 'max-age=31536000; includeSubDomains; preload' : '', }, ],