From 83c088beed2052517b76c2f3ca6daf18f8629b7f Mon Sep 17 00:00:00 2001 From: Josue Date: Mon, 9 Nov 2020 18:50:49 -0500 Subject: [PATCH] refactor: remove cdn.jsdelivr.net from cors opbions --- src/backend/web/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/web/app.js b/src/backend/web/app.js index 4128e100df..0fc88f1a66 100644 --- a/src/backend/web/app.js +++ b/src/backend/web/app.js @@ -32,7 +32,7 @@ app.use( frameSrc: ["'self'", '*.youtube.com', '*.vimeo.com'], frameAncestors: ["'self'"], imgSrc: ["'self'", 'data:', 'https:'], - scriptSrc: ["'self'", 'cdn.jsdelivr.net', "'unsafe-inline'"], + scriptSrc: ["'self'", "'unsafe-inline'"], styleSrc: ["'self'", 'https:', "'unsafe-inline'"], objectSrc: ["'none'"], upgradeInsecureRequests: [],