We sacrifice by not doing any other technology, so that you get the best of Magento.

We sacrifice by not doing any other technology, so that you get the best of Magento.

    In case if you get titled error, you can follow the below process.

    Please add a file in your module or any existing module in app/code directory

    Create the file app/code/Namespace/Module/etc/csp_whitelist.xml

    <?xml version="1.0"?>
    <!--
    /**
     * Copyright  Magento, Inc. All rights reserved.
     * See COPYING.txt for license details.
     */
    -->
    <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>
                    <!--CDN-->
                    <value id="cloudflare" type="host">*.cloudflare.com</value>
    
                    <!--Google-->
                    <value id="google-analytics" type="host">www.google-analytics.com</value>
    
                    <!--Functions-->
                    <value id="trustedshops" type="host">*.trustedshops.com</value>
                    <value id="usercentrics" type="host">*.usercentrics.eu</value>
                </values>
            </policy>
            <policy id="style-src">
                <values>
                    <!--CDN-->
                    <value id="cloudflare" type="host">*.cloudflare.com</value>
    
                    <!--Design-->
                    <value id="typekit" type="host">*.typekit.net</value>
    
                    <!--Functions-->
                    <value id="trustedshops" type="host">*.trustedshops.com</value>
                    <value id="usercentrics" type="host">*.usercentrics.eu</value>
                </values>
            </policy>
            <policy id="img-src">
                <values>
                    <!--CDN-->
                    <value id="cloudflare" type="host">*.cloudflare.com</value>
                    <value id="klarna-base" type="host">https://cdn.klarna.com</value>
    
                    <!--Payments-->
                    <value id="paypal" type="host">*.paypal.com</value>
    
                    <!--Video-->
                    <value id="vimeocdn" type="host">*.vimeocdn.com</value>
                    <value id="youtube-img" type="host">https://s.ytimg.com</value>
    
                    <!--Functions-->
                    <value id="usercentrics" type="host">*.usercentrics.eu</value>
                </values>
            </policy>
            <policy id="connect-src">
                <values>
                    <!--CDN-->
                    <value id="cloudflare" type="host">*.cloudflare.com</value>
    
                    <!--Payments-->
                    <value id="paypal" type="host">*.paypal.com</value>
                </values>
            </policy>
            <policy id="font-src">
                <values>
                    <!--CDN-->
                    <value id="cloudflare" type="host">*.cloudflare.com</value>
    
                    <!--Design-->
                    <value id="typekit" type="host">*.typekit.net</value>
    
                    <!--Functions-->
                    <value id="trustedshops" type="host">*.trustedshops.com</value>
                </values>
            </policy>
        </policies>
    </csp_whitelist>

     

    field_5bfb909c5ccae

      Get a Free Quote