mirror of https://github.com/Chocobozzz/PeerTube
Fix image and plugin CSP
parent
217ffacfdd
commit
ebe7f58726
|
@ -7,8 +7,8 @@ const baseDirectives = Object.assign({},
|
|||
connectSrc: ['*', 'data:'],
|
||||
mediaSrc: ["'self'", 'https:', 'blob:'],
|
||||
fontSrc: ["'self'", 'data:'],
|
||||
imgSrc: ["'self'", 'data:'],
|
||||
scriptSrc: ["'self' 'unsafe-inline' 'unsafe-eval'"],
|
||||
imgSrc: ["'self'", 'data:', 'blob:'],
|
||||
scriptSrc: ["'self' 'unsafe-inline' 'unsafe-eval'", 'blob:'],
|
||||
styleSrc: ["'self' 'unsafe-inline'"],
|
||||
objectSrc: ["'none'"], // only define to allow plugins, else let defaultSrc 'none' block it
|
||||
formAction: ["'self'"],
|
||||
|
|
Loading…
Reference in New Issue