CSP: allow blob images for cropping avatars

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
This commit is contained in:
ゆめ 2024-11-19 06:17:23 -06:00
parent 3d3bfad5d0
commit a236bbb8d4
No known key found for this signature in database

View file

@ -30,6 +30,7 @@ export function generateCSP(hashedMap: Map<string, CSPHashed>, options: {
[
'\'self\'',
'data:',
'blob:',
// 'https://avatars.githubusercontent.com', // uncomment this for contributor avatars to work
options.mediaProxy
].filter(Boolean)],