Skip to content

Commit f5e4623

Browse files
committed
Merge branch 'AC-2251-fix-csp-whitelists' into delivery-bunch-w18
2 parents 8a09915 + 29810b8 commit f5e4623

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
/**
4+
* Copyright © Magento, Inc. All rights reserved.
5+
* See COPYING.txt for license details.
6+
*/
7+
-->
8+
<csp_whitelist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Csp:etc/csp_whitelist.xsd">
9+
<policies>
10+
<policy id="connect-src">
11+
<values>
12+
<value id="vimeo" type="host">vimeo.com</value>
13+
</values>
14+
</policy>
15+
<policy id="frame-src">
16+
<values>
17+
<value id="youtube" type="host">*.youtube.com</value>
18+
<value id="youtube_nocookie" type="host">*.youtube-nocookie.com</value>
19+
</values>
20+
</policy>
21+
</policies>
22+
</csp_whitelist>

0 commit comments

Comments
 (0)