chore: image allow "data:" in csp (#19728)

pull/19732/head
Joel 9 months ago committed by GitHub
parent ff0feaf34e
commit bd7094b9f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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…
Cancel
Save