diff --git a/next.config.js b/next.config.js index 11569be0d..a563b9559 100644 --- a/next.config.js +++ b/next.config.js @@ -58,6 +58,15 @@ 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' + }] + } ] };