fix: csp prevents fonts to load (#3225)
This commit is contained in:
@@ -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