From 759d9e257e68f348dd45a6fa1ff33f04e5625cf9 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Sun, 8 Jan 2023 23:04:55 +0000 Subject: [PATCH] chore: move docs redirect into `_redirects` (#895) --- netlify.toml | 7 ------- public/_redirects | 1 + 2 files changed, 1 insertion(+), 7 deletions(-) create mode 100644 public/_redirects diff --git a/netlify.toml b/netlify.toml index a3f6fff1..ed2110f0 100755 --- a/netlify.toml +++ b/netlify.toml @@ -8,10 +8,3 @@ to = "https://discord.gg/vAZSDU9J" status = 301 force = true - -# Redirect to the docs -[[redirects]] - from = "/docs" - to = "https://docs.elk.zone/" - status = 200 - force = true diff --git a/public/_redirects b/public/_redirects new file mode 100644 index 00000000..10f66489 --- /dev/null +++ b/public/_redirects @@ -0,0 +1 @@ +/docs/* https://docs.elk.zone/:splat 200