Skip to content

Commit

Permalink
add netlify.toml config (#241)
Browse files Browse the repository at this point in the history
Co-authored-by: Juan <[email protected]>
  • Loading branch information
TheJuanAndOnly99 and Juan authored Jan 9, 2025
1 parent 5da7ae0 commit 4e8a940
Show file tree
Hide file tree
Showing 5 changed files with 2,171 additions and 711 deletions.
3 changes: 0 additions & 3 deletions _headers

This file was deleted.

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

0 comments on commit 4e8a940

Please sign in to comment.