File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change 25
25
26
26
policy . script_src (
27
27
:self ,
28
- 'https://www.googletagmanager.com/' ,
29
-
30
- # Allow Segment's Analytics.js 2.0
31
- # https://segment.com/docs/connections/sources/catalog/libraries/website/javascript/upgrade-to-ajs2/#using-a-strict-content-security-policy-on-the-page
32
- "https://cdn.segment.com/analytics.js/v1/q0LtPl49tgnyHHY8PGBsPsshHk9AVNKm/analytics.min.js" , # production
33
- "https://cdn.segment.com/analytics.js/v1/EuoLh8Z8RQR0GXhCWz3H0ddTSIV4ysJv/analytics.min.js" , # development
34
- "https://cdn.segment.com/analytics-next/bundles/" ,
35
- "https://cdn.segment.com/next-integrations/integrations/"
28
+ "https://www.googletagmanager.com/" ,
29
+ "https://cdn.segment.com/"
36
30
)
37
31
38
32
policy . connect_src (
42
36
"https://#{ ENV [ 'ALGOLIA_APP_ID' ] } -2.algolianet.com" ,
43
37
"https://#{ ENV [ 'ALGOLIA_APP_ID' ] } -3.algolianet.com" ,
44
38
45
- # Allow Segment's Analytics.js 2.0
46
- # https://segment.com/docs/connections/sources/catalog/libraries/website/javascript/upgrade-to-ajs2/#using-a-strict-content-security-policy-on-the-page
47
- "https://cdn.segment.com/v1/projects/q0LtPl49tgnyHHY8PGBsPsshHk9AVNKm/settings" , # production
48
- "https://cdn.segment.com/v1/projects/EuoLh8Z8RQR0GXhCWz3H0ddTSIV4ysJv/settings" # development
39
+ "https://cdn.segment.com/" ,
40
+ "https://api.segment.io/"
49
41
)
50
42
51
43
# Specify URI for violation reports
You can’t perform that action at this time.
0 commit comments