From 6750dc31b9250bf9d39b439a3f3579c07526243a Mon Sep 17 00:00:00 2001 From: Minh Duong Date: Sat, 29 Jun 2024 01:03:03 -0500 Subject: [PATCH] Hardcode URL for CSP fix --- server/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/app.js b/server/app.js index 9e885ae..a03caf4 100644 --- a/server/app.js +++ b/server/app.js @@ -44,7 +44,7 @@ app.register(helmet, { styleSrc: ['\'unsafe-inline\'', '\'self\''], scriptSrc: ['\'self\'', 'https://www.google-analytics.com', 'https://www.google.com/recaptcha/', 'https://www.gstatic.com/recaptcha/'], frameSrc: ['https://www.google.com/recaptcha/'], - connectSrc: ['\'self\'', 'https://www.google-analytics.com'], + connectSrc: ['\'self\'', 'https://www.google-analytics.com', 'https://2024.uiuc.tf'], imgSrc: ['*', 'data:'] } }