fix: added media-src CSP rule for media attachments #209
This commit is contained in:
committed by
Linus Rath
parent
24c53e5ce7
commit
37bd490072
@@ -28,6 +28,7 @@ export function proxy(request: NextRequest) {
|
|||||||
`base-uri 'self'`,
|
`base-uri 'self'`,
|
||||||
`form-action 'self'`,
|
`form-action 'self'`,
|
||||||
`frame-ancestors ${frameAncestors}`,
|
`frame-ancestors ${frameAncestors}`,
|
||||||
|
`media-src 'self' blob:`,
|
||||||
].join("; ");
|
].join("; ");
|
||||||
|
|
||||||
// Skip intl middleware for /admin routes - they have their own layout
|
// Skip intl middleware for /admin routes - they have their own layout
|
||||||
|
|||||||
Reference in New Issue
Block a user