Skip to content

Commit

Permalink
test cors
Browse files Browse the repository at this point in the history
  • Loading branch information
winkerVSbecks committed Nov 8, 2021
1 parent 338ab13 commit 7293e1b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ module.exports = {
'Access-Control-Allow-Origin: *',
'Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept',
],
'https://release-6-0--storybook-frontpage.netlify.app/*': [
'Access-Control-Allow-Origin: *',
],
...(!isLatest && {
[`/docs/${versionString}/*`]: ['X-Robots-Tag: noindex'],
}),
Expand Down

0 comments on commit 7293e1b

Please sign in to comment.