From b0c85724cc683554e089ff273cfdcb9bbf4bf16f Mon Sep 17 00:00:00 2001 From: James Ward Date: Sat, 25 Apr 2026 21:54:06 -0400 Subject: [PATCH] fix(ui): disable critical-inlining to prevent CSP failure (#893) --- frontend/angular.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/frontend/angular.json b/frontend/angular.json index a24f84faa..37de7e8c4 100644 --- a/frontend/angular.json +++ b/frontend/angular.json @@ -95,7 +95,15 @@ } ], "outputHashing": "all", - "serviceWorker": "ngsw-config.json" + "serviceWorker": "ngsw-config.json", + "optimization": { + "scripts": true, + "styles": { + "minify": true, + "inlineCritical": false + }, + "fonts": true + } }, "development": { "optimization": false,