mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-05-25 07:38:15 +08:00
chore: image allow "data:" in csp (#19728)
This commit is contained in:
parent
ff0feaf34e
commit
bd7094b9f5
@ -37,7 +37,7 @@ export function middleware(request: NextRequest) {
|
||||
style-src 'self' 'unsafe-inline' ${scheme_source} ${whiteList};
|
||||
worker-src 'self' ${scheme_source} ${csp} ${whiteList};
|
||||
media-src 'self' ${scheme_source} ${csp} ${whiteList};
|
||||
img-src *;
|
||||
img-src * data:;
|
||||
font-src 'self';
|
||||
object-src 'none';
|
||||
base-uri 'self';
|
||||
|
Loading…
x
Reference in New Issue
Block a user