From d989670168ccf7ed951531e04e1fdd7e72f18716 Mon Sep 17 00:00:00 2001 From: Charles Garrett Date: Thu, 11 Jan 2024 17:42:51 -0500 Subject: [PATCH] fix(headers): temporarily remove to fix issues resolving ipfs images --- next.config.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/next.config.js b/next.config.js index db6868512..11569be0d 100644 --- a/next.config.js +++ b/next.config.js @@ -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;