Skip to content

Commit

Permalink
ATL-1546: Add youtube & cdndelivr to csp
Browse files Browse the repository at this point in the history
  • Loading branch information
nyilmaz committed Nov 26, 2023
1 parent 5c4fe92 commit f72ddb8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/prpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ export function makeHandler(root?: string, config?: Config): (
"*.mncdn.com",
"*.adform.net",
"*.storyly.io",
"cdn.jsdelivr.net"
];

const frameSrcAllowedHosts = [
Expand Down Expand Up @@ -178,6 +179,7 @@ export function makeHandler(root?: string, config?: Config): (
"*.facebook.com",
"www.google-analytics.com",
"*.googlesyndication.com",
"img.youtube.com",
"matching.ivitrack.com",
"stags.bluekai.com",
"x.bidswitch.net",
Expand Down Expand Up @@ -230,7 +232,7 @@ export function makeHandler(root?: string, config?: Config): (
"trends.revcontent.com", // criteo
"tazedirekt.webinstats.com",
"macro.webinstats.com",
"https://*.facebook.com",
"*.facebook.com",
"maps.googleapis.com"
];

Expand Down

0 comments on commit f72ddb8

Please sign in to comment.