Skip to content

Commit

Permalink
added csp
Browse files Browse the repository at this point in the history
  • Loading branch information
landofcoder committed Jun 3, 2022
1 parent c948bd7 commit 58e83b0
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions etc/csp_whitelist.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<csp_whitelist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Csp/etc/csp_whitelist.xsd">
<policies>
<policy id="connect-src">
<values>
<value id="landofcoder-com-connect" type="host">landofcoder.com</value>
</values>
</policy>
<policy id="frame-src">
<values>
<value id="landofcoder-com-frame" type="host">landofcoder.com</value>
</values>
</policy>
<policy id="script-src">
<values>
<value id="landofcoder-com-src" type="host">landofcoder.com</value>
</values>
</policy>
<policy id="object-src">
<values>
<value id="landofcoder-com-object" type="host">landofcoder.com</value>
</values>
</policy>
</policies>
</csp_whitelist>

0 comments on commit 58e83b0

Please sign in to comment.