We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c51eb0 commit 1af99ebCopy full SHA for 1af99eb
1 file changed
specification/draft/apps.mdx
@@ -1480,8 +1480,8 @@ const csp = resource._meta?.ui?.csp;
1480
1481
const cspValue = `
1482
default-src 'none';
1483
- script-src 'self' 'unsafe-inline';
1484
- style-src 'self' 'unsafe-inline';
+ script-src 'self' 'unsafe-inline' ${csp?.resourceDomains?.join(' ') || ''};
+ style-src 'self' 'unsafe-inline' ${csp?.resourceDomains?.join(' ') || ''};
1485
connect-src 'self' ${csp?.connectDomains?.join(' ') || ''};
1486
img-src 'self' data: ${csp?.resourceDomains?.join(' ') || ''};
1487
font-src 'self' ${csp?.resourceDomains?.join(' ') || ''};
0 commit comments