Skip to content

Commit

Permalink
*rmv first obj in headers array.
Browse files Browse the repository at this point in the history
  • Loading branch information
ethan-crypto committed Sep 1, 2023
1 parent cdfb90d commit d8b10fd
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,6 @@
const nextConfig = {
async headers() {
return [
{
source: '/(.*)',
headers: [
{
key: 'Cross-Origin-Embedder-Policy',
value: 'require-corp',
},
{
key: 'Cross-Origin-Opener-Policy',
value: 'same-origin',
},
{
key: 'Cross-Origin-Resource-Policy',
value: 'cross-origin',
},
],
},
{
// matching all API routes
source: "/api/:path*",
Expand Down

0 comments on commit d8b10fd

Please sign in to comment.