summaryrefslogtreecommitdiff
path: root/_headers
diff options
context:
space:
mode:
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