fix: Add Referrer-Policy header for OSM tiles
This commit is contained in:
@@ -50,6 +50,19 @@ const nextConfig = {
|
||||
};
|
||||
return config;
|
||||
},
|
||||
async headers() {
|
||||
return [
|
||||
{
|
||||
source: '/(.*)',
|
||||
headers: [
|
||||
{
|
||||
key: 'Referrer-Policy',
|
||||
value: 'no-referrer-when-downgrade',
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
},
|
||||
};
|
||||
|
||||
export default withNextIntl(nextConfig);
|
||||
|
||||
Reference in New Issue
Block a user