<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
 * @author Amasty Team
 * @copyright Copyright (c) Amasty (https://www.amasty.com)
 * @package TikTok Pixel by Amasty
 */-->

<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="script-src">
            <values>
                <value id="tiktok-pixel" type="host">*.tiktok.com</value>
            </values>
        </policy>
        <policy id="img-src">
            <values>
                <value id="tiktok-pixel" type="host">*.tiktok.com</value>
            </values>
        </policy>
        <policy id="connect-src">
            <values>
                <value id="tiktok-pixel" type="host">*.tiktok.com</value>
            </values>
        </policy>
    </policies>
</csp_whitelist>
