fix: csp prevents external videos (#3372)
This commit is contained in:
1 parent
ad444e8fa7
commit
c59cdeda47
1 file changed
+1
@@ -53,6 +53,7 @@ const nextConfig: NextConfig = {
|
|||||||
form-action 'self';
|
form-action 'self';
|
||||||
img-src * data:;
|
img-src * data:;
|
||||||
font-src * data:;
|
font-src * data:;
|
||||||
|
media-src * data:;
|
||||||
`
|
`
|
||||||
.replace(/\s{2,}/g, " ")
|
.replace(/\s{2,}/g, " ")
|
||||||
.trim(),
|
.trim(),
|
||||||
|
|||||||
Reference in new issue
Block a user