Skip to content
This repository was archived by the owner on Apr 7, 2025. It is now read-only.

Commit 2044221

Browse files
fix: add gatsby cloud plugin and referrer policy setting
1 parent 7f3221e commit 2044221

File tree

3 files changed

+202
-4
lines changed

3 files changed

+202
-4
lines changed

gatsby-config.js

+6
Original file line numberDiff line numberDiff line change
@@ -180,5 +180,11 @@ module.exports = {
180180
extensions: [`.mdx`, `.md`],
181181
},
182182
},
183+
{
184+
resolve: 'gatsby-plugin-gatsby-cloud',
185+
options: {
186+
allPageHeaders: ['Referrer-Policy: strict-origin'],
187+
},
188+
},
183189
],
184190
};

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"feather-icons": "^4.28.0",
1616
"gatsby": "^3.8.0",
1717
"gatsby-image": "^3.8.0",
18+
"gatsby-plugin-gatsby-cloud": "^3.0.0",
1819
"gatsby-plugin-manifest": "^3.8.0",
1920
"gatsby-plugin-mdx": "^2.8.0",
2021
"gatsby-plugin-offline": "^4.8.0",

0 commit comments

Comments
 (0)