From 2307ea2378fd1761b3439c9457f37b2e1fb10ddc Mon Sep 17 00:00:00 2001 From: Ryan Lelek Date: Sun, 11 Aug 2024 17:08:49 -0500 Subject: [PATCH] Edit: Disable Content-Security-Policy (CSP) for now due to breakage --- app/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/index.js b/app/index.js index 6f2c17dc..91cfaba0 100644 --- a/app/index.js +++ b/app/index.js @@ -86,7 +86,10 @@ function initialize(config) { // Setup Express app.use(logger('dev')); - app.use(helmet()); + app.use(helmet({ + // TODO: Refine + contentSecurityPolicy: false, + })); app.use(body_parser.json()); app.use(body_parser.urlencoded({ extended: false })); app.use(cookie_parser());