summaryrefslogtreecommitdiff
path: root/_headers
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2023-02-27 11:42:26 +0000
committerGitHub <[email protected]>2023-02-27 11:42:26 +0000
commitdf477a9c456c46f0870ea226f2ac753cecb3c333 (patch)
treece4b4c5a1e5e483d8b9a7c1d1fe26fb61be2308d /_headers
Deploy to GitHub pagesdetached
Diffstat (limited to '_headers')
-rw-r--r--_headers12
1 files changed, 12 insertions, 0 deletions
diff --git a/_headers b/_headers
new file mode 100644
index 0000000..877d928
--- /dev/null
+++ b/_headers
@@ -0,0 +1,12 @@
+# for netlify hosting
+# https://docs.netlify.com/routing/headers/#syntax-for-the-headers-file
+
+/*
+ X-Frame-Options: DENY
+ X-XSS-Protection: 1; mode=block
+ X-Content-Type-Options: nosniff
+ Referrer-Policy: same-origin
+/*.css
+ Cache-Control: public, max-age=31536000, immutable
+/*.js
+ Cache-Control: public, max-age=31536000, immutable