From 3b882df2e1975c2751209a8e15c31098c0895c1f Mon Sep 17 00:00:00 2001 From: Eric F Date: Mon, 15 Jun 2026 22:50:07 -0400 Subject: [PATCH] fix: Add Referrer-Policy header for OSM tiles --- .../apps/operator-ui/next.config.mjs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/tools/citrineos-core-main/apps/operator-ui/next.config.mjs b/tools/citrineos-core-main/apps/operator-ui/next.config.mjs index 7602557..60fa803 100644 --- a/tools/citrineos-core-main/apps/operator-ui/next.config.mjs +++ b/tools/citrineos-core-main/apps/operator-ui/next.config.mjs @@ -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);