View Complete Thread
  • Re: CSP conflict with custom handler

    Dec 03, 2019 02:47 AM|Jalpa Panchal|LINK

    Hi,

    you could try to add the below code in your web.config file:

    <system.webServer>
        <httpProtocol>
            <customHeaders>
                <add name="Content-Security-Policy" value="default-src 'self';" />
            </customHeaders>
        </httpProtocol>
    </system.webServer>

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue.
    If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.