Skip to content

Commit

Permalink
fix: add gatsby cloud plugin and referrer policy setting
Browse files Browse the repository at this point in the history
  • Loading branch information
roadlittledawn committed Aug 19, 2021
1 parent e721f9c commit c63e3dc
Show file tree
Hide file tree
Showing 3 changed files with 194 additions and 6 deletions.
6 changes: 6 additions & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,5 +188,11 @@ module.exports = {
environments: ['production', 'development'],
},
},
{
resolve: 'gatsby-plugin-gatsby-cloud',
options: {
allPageHeaders: ['Referrer-Policy: strict-origin'],
},
},
],
};
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"gatsby": "^3.8.0",
"gatsby-image": "^3.8.0",
"gatsby-plugin-emotion": "^6.8.0",
"gatsby-plugin-gatsby-cloud": "^3.0.0",
"gatsby-plugin-manifest": "^3.8.0",
"gatsby-plugin-mdx": "^2.8.0",
"gatsby-plugin-meta-redirect": "^1.1.1",
Expand Down
Loading

0 comments on commit c63e3dc

Please sign in to comment.