mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-13 05:19:00 +08:00
chore: remove image csp (#19511)
This commit is contained in:
parent
855e850ef3
commit
d1c55cb901
@ -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 'self' ${scheme_source} ${csp} ${whiteList};
|
||||
img-src *;
|
||||
font-src 'self';
|
||||
object-src 'none';
|
||||
base-uri 'self';
|
||||
|
Loading…
x
Reference in New Issue
Block a user