Skip to content

Commit 2f86a76

Browse files
authored
Merge pull request #23 from Primajin/patch-1
Add key to remove error
2 parents ae14545 + 6e0add2 commit 2f86a76

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/gatsby-ssr.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ exports.onPreRenderHTML = (
5959
};
6060

6161
const cspComponent = React.createElement("meta", {
62+
key: "gatsby-plugin-csp",
6263
httpEquiv: `${reportOnly ? "Content-Security-Policy-Report-Only" : "Content-Security-Policy"}`,
6364
content: cspString(csp)
6465
});

0 commit comments

Comments
 (0)