diff --git a/server/serverMethods.js b/server/serverMethods.js index 54a28823..aa8c8927 100644 --- a/server/serverMethods.js +++ b/server/serverMethods.js @@ -73,12 +73,18 @@ const securityHeaders = helmet({ 'cdnjs.cloudflare.com', 'assets.tokbox.com', 'www.google-analytics.com', - 'https://unpkg.com/@vonage/client-sdk-video@2/dist/js/opentok.js', + 'https://unpkg.com/@vonage/', 'static.opentok.com', 'www.googletagmanager.com', 'assets.adobedtm.com', ], - styleSrc: ["'self'", "'unsafe-inline'", 'cdnjs.cloudflare.com', 'assets.tokbox.com', 'static.opentok.com'], + styleSrc: [ + "'self'", + "'unsafe-inline'", + 'cdnjs.cloudflare.com', + 'assets.tokbox.com', + 'static.opentok.com', + ], connectSrc: ['*'], imgSrc: ['*', 'data:'], },