Skip to content

Commit

Permalink
ATL-1: Add missing domains for GTM preview mode and SW
Browse files Browse the repository at this point in the history
  • Loading branch information
elifmeric committed Feb 27, 2024
1 parent aab305a commit c68cd59
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/prpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ export function makeHandler(root?: string, config?: Config): (
"https://www.google-analytics.com",
"www.googletagmanager.com",
"https://tagmanager.google.com",
"https://googletagmanager.com",
"*.googleapis.com",
"*.googleadservices.com",
"https://*.bkmexpress.com.tr",
Expand Down Expand Up @@ -148,7 +149,6 @@ export function makeHandler(root?: string, config?: Config): (
"https://*.api.sociaplus.com",
"https://*.webinstats.com",
"https://sanalmarket.api.useinsider.com",
"https://optimize.google.com",
"https://*.bkmexpress.com.tr",
"https://www.linkadoo.co",
"https://linkadoo.co",
Expand Down Expand Up @@ -232,6 +232,7 @@ export function makeHandler(root?: string, config?: Config): (
"*.semasio.net",
"*.dmxleo.com",
"https://googletagmanager.com",
"www.googletagmanager.com",
"https://ssl.gstatic.com",
"https://www.gstatic.com",
"https://digiavantaj.cake.aclz.net",
Expand Down Expand Up @@ -267,7 +268,6 @@ export function makeHandler(root?: string, config?: Config): (
"*.visualwebsiteoptimizer.com",
"*.masterpassturkiye.com",
"logs.browser-intake-datadoghq.eu",
"*.segmentify.com",
"*.criteo.com",
"*.adjust.com",
"app.adjust.net.in",
Expand All @@ -277,6 +277,7 @@ export function makeHandler(root?: string, config?: Config): (
"maps.googleapis.com",
"*.dahi.ai",
"*.adrttt.com",
"https://*.migrosone.com"
];

response.setHeader('Content-Security-Policy',
Expand Down

0 comments on commit c68cd59

Please sign in to comment.