Skip to content

Commit d315332

Browse files
committed
chore: Add Cross-Origin-Resource-Policy and Cross-Origin-Embedder-Policy headers to next.config.ts.
1 parent e99321b commit d315332

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

next.config.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,14 @@ const nextConfig: NextConfig = {
179179
key: 'X-Build-ID',
180180
value: buildId,
181181
},
182+
{
183+
key: 'Cross-Origin-Resource-Policy',
184+
value: 'cross-origin',
185+
},
186+
{
187+
key: 'Cross-Origin-Embedder-Policy',
188+
value: 'unsafe-none',
189+
},
182190
],
183191
},
184192

0 commit comments

Comments
 (0)