fix: csp prevents fonts to load (#3225)
This commit is contained in:
1 parent
6d9e42cf5d
commit
05e159f566
1 file changed
+1
@@ -67,6 +67,7 @@ const nextConfig: NextConfig = {
|
|||||||
frame-src *;
|
frame-src *;
|
||||||
form-action 'self';
|
form-action 'self';
|
||||||
img-src * data:;
|
img-src * data:;
|
||||||
|
font-src * data:;
|
||||||
`
|
`
|
||||||
.replace(/\s{2,}/g, " ")
|
.replace(/\s{2,}/g, " ")
|
||||||
.trim(),
|
.trim(),
|
||||||
|
|||||||
Reference in new issue
Block a user