openvibers/openvibe.bench Commits

connect-src: allow https://openvibe.chat for the navbar's Messages count (openvibe-shared 4.130.0) (#142)

OP OpenVibers committed 6 days ago · 270a5a9c41 · 1 file, +1 −1

Changes

ddiff --git a/server/app.js b/server/app.js
iindex 053b1c2..07262fa 100644
---- a/server/app.js
++++ b/server/app.js
@@@ -170,7 +170,7 @@ async function createApp(opts = {}) {
styleSrc: ["'self'", "'unsafe-inline'", 'https://openvibe.network', 'https://fonts.googleapis.com', 'https://cdnjs.cloudflare.com'],
fontSrc: ["'self'", 'data:', 'https://fonts.gstatic.com', 'https://cdnjs.cloudflare.com'],
imgSrc: ["'self'", 'data:', 'https://openvibe.network', 'https://openvibe.media'],
-- connectSrc: ["'self'", 'https://openvibe.network', 'https://cloudflareinsights.com', 'https://openvibe.events', 'https://openvibe.media'],
++ connectSrc: ["'self'", 'https://openvibe.network', 'https://openvibe.chat', 'https://cloudflareinsights.com', 'https://openvibe.events', 'https://openvibe.media'],
// A live.clip battle plays its two clips from OpenVibe.Media (signed links; HLS through blob: sources).
mediaSrc: ["'self'", 'https://openvibe.media', 'blob:'],
frameSrc: ["'self'", 'https://openvibe.network', require('./bench/render').RENDER_ORIGIN],