fix(captcha): Add media-src CSP header for the audio captcha

Co-authored-by: nig <nig@tutao.de>
Co-authored-by: toj <toj@tutao.de>
This commit is contained in:
yoy 2025-07-14 14:10:39 +02:00
parent fbc3569cb0
commit b6d13d2ef4

View file

@ -78,6 +78,7 @@ function csp(env) {
" frame-src 'none';" +
" font-src 'self';" +
" img-src http: blob: data: *;" +
" media-src blob: data: *;" +
" style-src 'unsafe-inline';" +
"base-uri 'none';" +
` connect-src 'self' ${getCspUrls(env)};`