File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ const monorepoRoot = resolve(import.meta.dirname, '../..');
2727/** @type {import('next').NextConfig } */
2828const nextConfig = {
2929 reactStrictMode : true ,
30+ poweredByHeader : false ,
3031
3132 // Both values MUST be set to the monorepo root and kept in sync.
3233 // `vercel build` sets NEXT_PRIVATE_OUTPUT_TRACE_ROOT to the project dir (apps/web)
@@ -138,6 +139,26 @@ const nextConfig = {
138139 key : 'Cross-Origin-Opener-Policy' ,
139140 value : 'same-origin' ,
140141 } ,
142+ {
143+ key : 'X-XSS-Protection' ,
144+ value : '0' ,
145+ } ,
146+ {
147+ key : 'Referrer-Policy' ,
148+ value : 'strict-origin-when-cross-origin' ,
149+ } ,
150+ {
151+ key : 'Permissions-Policy' ,
152+ value : 'geolocation=(self), camera=(), microphone=()' ,
153+ } ,
154+ {
155+ key : 'Cross-Origin-Resource-Policy' ,
156+ value : 'same-origin' ,
157+ } ,
158+ {
159+ key : 'Cross-Origin-Embedder-Policy-Report-Only' ,
160+ value : 'require-corp' ,
161+ } ,
141162 ] ,
142163 } ,
143164 ] ;
You can’t perform that action at this time.
0 commit comments