File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ const nextConfig = {
7474 headers : [
7575 {
7676 key : 'Strict-Transport-Security' ,
77- value : process . env . VERCEL === '1' ? 'max-age=31536000 ' : '' ,
77+ value : process . env . VERCEL === '1' ? 'max-age=1200; includeSubDomains ' : '' ,
7878 } ,
7979 {
8080 key : 'X-Robots-Tag' ,
@@ -97,7 +97,7 @@ const nextConfig = {
9797 headers : [
9898 {
9999 key : 'Strict-Transport-Security' ,
100- value : process . env . VERCEL === '1' ? 'max-age=31536000 ' : '' ,
100+ value : process . env . VERCEL === '1' ? 'max-age=1200; includeSubDomains ' : '' ,
101101 } ,
102102 {
103103 key : 'X-Robots-Tag' ,
Original file line number Diff line number Diff line change @@ -494,7 +494,7 @@ const nextConfig = {
494494 key : 'Strict-Transport-Security' ,
495495 value :
496496 process . env . NEXT_PUBLIC_IS_PLATFORM === 'true' && process . env . VERCEL === '1'
497- ? 'max-age=31536000 '
497+ ? 'max-age=1200; includeSubDomains '
498498 : '' ,
499499 } ,
500500 {
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ const nextConfig = {
8484 source : "/(.*)" ,
8585 headers : [ {
8686 key : 'Strict-Transport-Security' ,
87- value : process . env . NEXT_PUBLIC_IS_PLATFORM === 'true' && process . env . VERCEL === '1' ? 'max-age=31536000 ' : '' } ] ,
87+ value : process . env . NEXT_PUBLIC_IS_PLATFORM === 'true' && process . env . VERCEL === '1' ? 'max-age=1200; includeSubDomains ' : '' } ] ,
8888 } ,
8989 ]
9090 } ,
You can’t perform that action at this time.
0 commit comments