1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

feat: add plausible as connect src (#3619)

This commit is contained in:
Jaanus Sellin 2023-04-25 14:24:54 +03:00 committed by GitHub
parent d1c3bd95be
commit f9686a3a33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,6 +50,7 @@ const secureHeaders: (config: IUnleashConfig) => RequestHandler = (config) => {
connectSrc: [
"'self'",
'cdn.getunleash.io',
'plausible.getunleash.io',
'gravatar.com',
'europe-west3-metrics-304612.cloudfunctions.net',
...config.additionalCspAllowedDomains.connectSrc,