From 687d7a531582c60511627f5c46c1686add3f043c Mon Sep 17 00:00:00 2001 From: Brad Bodine Date: Mon, 6 May 2024 14:43:58 -0500 Subject: [PATCH] chore: Add content security policy headers to dev server and index.html --- apps/sbtcc/project.json | 3 +++ apps/sbtcc/src/index.html | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/sbtcc/project.json b/apps/sbtcc/project.json index 5c4692e..eef005a 100644 --- a/apps/sbtcc/project.json +++ b/apps/sbtcc/project.json @@ -58,6 +58,9 @@ "serve": { "executor": "@angular-devkit/build-angular:dev-server", "options": { + "headers": { + "content-security-policy": "default-src 'self'; script-src 'self' 'nonce-randomNonceGoesHere'; style-src 'self' 'nonce-randomNonceGoesHere';" + }, "port": 4202 }, "configurations": { diff --git a/apps/sbtcc/src/index.html b/apps/sbtcc/src/index.html index 88fc433..6250922 100644 --- a/apps/sbtcc/src/index.html +++ b/apps/sbtcc/src/index.html @@ -2,6 +2,7 @@ + Small Business Tax Credit Calculator @@ -18,6 +19,6 @@ /> - +