about summary refs log tree commit diff stats
path: root/netlify/netlify.toml
diff options
context:
space:
mode:
Diffstat (limited to 'netlify/netlify.toml')
-rw-r--r--netlify/netlify.toml14
1 files changed, 14 insertions, 0 deletions
diff --git a/netlify/netlify.toml b/netlify/netlify.toml
new file mode 100644
index 0000000..7b203eb
--- /dev/null
+++ b/netlify/netlify.toml
@@ -0,0 +1,14 @@
+[build]
+  base = "netlify"
+  publish = "."
+
+[[redirects]]
+  from = "*"
+  to = "https://alanpearce.eu/:splat"
+  status = 301
+  force = true
+
+[[headers]]
+  for = "/*"
+  [headers.values]
+    cache-control = "max-age=86400"