csp: load any media over https, not just local media
This commit is contained in:
parent
6382f98a5e
commit
737c9f0364
|
@ -10,8 +10,8 @@ const csp = (): AppMiddleware => {
|
|||
'upgrade-insecure-requests',
|
||||
`script-src 'self'`,
|
||||
`connect-src 'self' blob: ${Conf.localDomain} ${wsProtocol}//${host}`,
|
||||
`media-src 'self' ${Conf.mediaDomain}`,
|
||||
`img-src 'self' data: blob: ${Conf.mediaDomain}`,
|
||||
`media-src 'self' https:`,
|
||||
`img-src 'self' data: blob: https:`,
|
||||
`default-src 'none'`,
|
||||
`base-uri 'self'`,
|
||||
`frame-ancestors 'none'`,
|
||||
|
|
Loading…
Reference in New Issue