Skip to content

Commit

Permalink
Merge branch 'main' into sulaiman/fer-2638-boundary-respect-the-colla…
Browse files Browse the repository at this point in the history
…psed-property-on-nested-sections
  • Loading branch information
sulaiman-fern authored Aug 1, 2024
2 parents 5c51a92 + f297979 commit 82588d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/ui/docs-bundle/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ const nextConfig = {

const styleSrc = ["'self'", "'unsafe-inline'"];

const fontSrc = ["'self'", "data:", ...DOCS_FILES_URLS];

if (cdnUri != null) {
scriptSrc.push(`${cdnUri.origin}`);
connectSrc.push(`${cdnUri.origin}`);
Expand All @@ -102,7 +104,7 @@ const nextConfig = {
"base-uri 'self'",
"form-action 'self'",
"frame-ancestors 'none'",
"font-src 'self' data:",
`font-src ${fontSrc.join(" ")}`,
// "upgrade-insecure-requests", <-- this is ignored because Report-Only mode is enabled
];

Expand Down

0 comments on commit 82588d8

Please sign in to comment.