CSP: allow blob images for cropping avatars
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
This commit is contained in:
parent
3d3bfad5d0
commit
a236bbb8d4
1 changed files with 1 additions and 0 deletions
|
@ -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)],
|
||||
|
|
Loading…
Add table
Reference in a new issue