mirror of
https://github.com/Unleash/unleash.git
synced 2025-12-21 20:06:40 +01:00
fix: add cdn.getunleash.io to media-src
This commit is contained in:
parent
a770549fd0
commit
cc55ad8c19
@ -64,6 +64,8 @@ const secureHeaders: (config: IUnleashConfig) => RequestHandler = (config) => {
|
||||
...config.additionalCspAllowedDomains.connectSrc,
|
||||
],
|
||||
mediaSrc: [
|
||||
"'self'",
|
||||
'cdn.getunleash.io',
|
||||
'*.youtube.com',
|
||||
'*.youtube-nocookie.com',
|
||||
...config.additionalCspAllowedDomains.mediaSrc,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user