Skip to content

Commit

Permalink
Merge pull request #922 from near/header_breaks_ipfs
Browse files Browse the repository at this point in the history
fix(headers): temporarily remove to fix issues resolving ipfs images
  • Loading branch information
charleslavon authored Jan 11, 2024
2 parents a02425d + d989670 commit 2fe0ac3
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,7 @@ const nextConfig = {
source: '/api/analytics/:path*',
destination: 'https://near.dataplane.rudderstack.com/:path*',
}
],
headers: async () => [
{
source: '/:path*',
headers: [{
key: 'Referrer-Policy',
value: 'strict-origin-when-cross-origin,same-origin'
}]
}]
]
};

module.exports = nextConfig;
Expand Down

0 comments on commit 2fe0ac3

Please sign in to comment.