Skip to content

Commit

Permalink
add netlify gatsby plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJuanAndOnly99 committed Jan 8, 2025
1 parent 13addb7 commit 556c4d6
Show file tree
Hide file tree
Showing 4 changed files with 116 additions and 4 deletions.
3 changes: 0 additions & 3 deletions _headers

This file was deleted.

14 changes: 13 additions & 1 deletion gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,17 @@ module.exports = {
siteMetadata: {
title: `FINOS Event Calendar`,
},
plugins: [],
plugins: [
{
resolve: 'gatsby-plugin-netlify',
options: {
headers: {
'/*': [
'X-Frame-Options: SAMEORIGIN',
'Content-Security-Policy: frame-ancestors \'self\' https://finos.org',
],
},
},
},
],
};
102 changes: 102 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"@mdi/js": "^7.3.67",
"@mdi/react": "^1.6.1",
"gatsby": "^5.14.0",
"gatsby-plugin-netlify": "^5.1.1",
"googleapis": "^144.0.0",
"html-react-parser": "^5.0.7",
"react": "^18.2.0",
Expand Down

0 comments on commit 556c4d6

Please sign in to comment.