IvanJosipovic / BlazorApplicationInsights

Application Insights for Blazor web applications

Home Page:https://BlazorApplicationInsights.netlify.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add nonce to script tag for content-security-policy (CSP)

daver77 opened this issue · comments

At the moment I need to add "https://*.monitor.azure.com" to my script-src allow-list for my content-security-policy to work which i want to avoid. Has anyone modified the JS to add a nonce attribute to the external JS link? I can add one here to allow the inline script fine.

image

image