From 20eb7fc475f58c175d4b4946a786ed827067514d Mon Sep 17 00:00:00 2001 From: Gavin Barron Date: Mon, 11 Dec 2023 12:04:52 -0800 Subject: [PATCH] fix: add connect img and frame csp directives (#2910) fix: revert csp tag in developer index.html (#2910) --- .storybook/post-process-index-file.js | 17 +++++++++-------- index.html | 1 - 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.storybook/post-process-index-file.js b/.storybook/post-process-index-file.js index f7b291f85d..53e4df5783 100644 --- a/.storybook/post-process-index-file.js +++ b/.storybook/post-process-index-file.js @@ -53,14 +53,15 @@ function addCspTag(filePath) { // const styleEndMatch = ''; // readHashesForMatch(htmlDocument, styleMatch, styleEndMatch, styleHashes); - const cspTag = ``; + const cspTag = ` + `; const updatedHtmlDocument = htmlDocument.replace( //, ` diff --git a/index.html b/index.html index 3960f028b0..bc5492e334 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,6 @@ Microsoft Graph Toolkit Test -