diff options
author | 2024-04-29 02:01:50 +0100 | |
---|---|---|
committer | 2024-04-29 02:01:50 +0100 | |
commit | e491157ee63b85a5d4dd8f8a44983bfbaaae692b (patch) | |
tree | 480aef38f6fb2894bb6c4a0cd028f987acd782fc /gatsby-config.ts | |
parent | Add headers file (diff) |
Move headers to Gatsby config
Diffstat (limited to 'gatsby-config.ts')
-rw-r--r-- | gatsby-config.ts | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/gatsby-config.ts b/gatsby-config.ts index fc79f31..77a4608 100644 --- a/gatsby-config.ts +++ b/gatsby-config.ts @@ -35,7 +35,18 @@ const config: GatsbyConfig = { options: { path: `./data/`, }, - },] + },], + headers: [ + { + source: "/*", + headers: [ + { + key: "Referrer-Policy", + value: "strict-origin-when-cross-origin", + } + ] + } + ] }; export default config; |