Skip to content
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.

Commit

Permalink
fix: set content policy header for all pages
Browse files Browse the repository at this point in the history
  • Loading branch information
aswanson-nr committed Jul 19, 2022
1 parent 7a05694 commit 8735eaf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const quote = (str) => `"${str}"`;
const resolveQuickstartSlug = require('./src/utils/resolveQuickstartSlug');

module.exports = {
pathPrefix: `/instant-observability`,
trailingSlash: 'never',
flags: {
DEV_SSR: true,
Expand Down Expand Up @@ -141,7 +142,9 @@ module.exports = {
{
resolve: 'gatsby-plugin-gatsby-cloud',
options: {
allPageHeaders: ['Referrer-Policy: no-referrer-when-downgrade'],
headers: {
'/*': ['Referrer-Policy: no-referrer-when-downgrade'],
},
},
},
],
Expand Down

0 comments on commit 8735eaf

Please sign in to comment.