fix: upload avatar failed (#19853)

This commit is contained in:
Joel 2025-05-17 10:55:12 +08:00 committed by GitHub
parent 4977bb21ec
commit df631591f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 * data:;
img-src * data: blob:;
font-src 'self';
object-src 'none';
base-uri 'self';