X-Frame headers

added a _headers to prevent the site to be iframed.
This commit is contained in:
2alf
2025-12-24 21:15:42 +01:00
parent f8352cfe5b
commit 1ee81a4e05
2 changed files with 4 additions and 1 deletions

2
.gitignore vendored
View File

@@ -86,7 +86,7 @@ jspm_packages/
# Gatsby files
.cache/
public
# Storybook build outputs
.out

3
public/_headers Normal file
View File

@@ -0,0 +1,3 @@
/*
X-Frame-Options: DENY
Content-Security-Policy: frame-ancestors 'none'