Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions apps/web/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const monorepoRoot = resolve(import.meta.dirname, '../..');
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
poweredByHeader: false,

// Both values MUST be set to the monorepo root and kept in sync.
// `vercel build` sets NEXT_PRIVATE_OUTPUT_TRACE_ROOT to the project dir (apps/web)
Expand Down Expand Up @@ -140,6 +141,26 @@ const nextConfig = {
key: 'Cross-Origin-Opener-Policy',
value: 'same-origin',
},
{
key: 'X-XSS-Protection',
value: '0',
},
{
key: 'Referrer-Policy',
value: 'strict-origin-when-cross-origin',
},
{
key: 'Permissions-Policy',
value: 'geolocation=(), camera=(), microphone=()',
},
{
key: 'Cross-Origin-Resource-Policy',
value: 'same-origin',
},
{
key: 'Cross-Origin-Embedder-Policy-Report-Only',
value: 'require-corp',
},
],
},
];
Expand Down
Loading