From 4c80a0b2acb578e5a8bfe311591a85ac19527220 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 19 Apr 2024 22:51:03 +0200 Subject: Use netlify for redirects --- netlify/netlify.toml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 netlify/netlify.toml (limited to 'netlify') 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" -- cgit 1.4.1