chore: move docs redirect into _redirects (#895)

This commit is contained in:
Daniel Roe 2023-01-08 23:04:55 +00:00 committed by GitHub
parent 9e24cbe5aa
commit 759d9e257e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 7 deletions

View file

@ -8,10 +8,3 @@
to = "https://discord.gg/vAZSDU9J" to = "https://discord.gg/vAZSDU9J"
status = 301 status = 301
force = true force = true
# Redirect to the docs
[[redirects]]
from = "/docs"
to = "https://docs.elk.zone/"
status = 200
force = true

1
public/_redirects Normal file
View file

@ -0,0 +1 @@
/docs/* https://docs.elk.zone/:splat 200