fix: Add Referrer-Policy header for OSM tiles

This commit is contained in:
Eric F
2026-06-15 22:50:07 -04:00
parent b06dbdbba9
commit 3b882df2e1

View File

@@ -50,6 +50,19 @@ const nextConfig = {
}; };
return config; return config;
}, },
async headers() {
return [
{
source: '/(.*)',
headers: [
{
key: 'Referrer-Policy',
value: 'no-referrer-when-downgrade',
},
],
},
];
},
}; };
export default withNextIntl(nextConfig); export default withNextIntl(nextConfig);