Update netlify.toml [ci skip]

This commit is contained in:
Ines Montani 2021-01-30 20:32:12 +11:00
parent ae07416fda
commit f6e2de8e32
1 changed files with 3 additions and 1 deletions

View File

@ -2,7 +2,9 @@ redirects = [
# Netlify
{from = "https://spacy.netlify.com/*", to="https://spacy.io/:splat", force = true },
# Subdomain for branches
{from = "https://nightly.spacy.io/*", to="https://spacy.io/:splat", force = true},
# TODO: update redirect
# {from = "https://nightly.spacy.io/*", to="https://spacy.io/:splat", force = true},
{from = "https://nightly.spacy.io/*", to="https://nightly-spacy-io.spacy.io/:splat", force = true, status = 200},
{from = "https://v2.spacy.io/*", to="https://v2-spacy-io.spacy.io/:splat", force = true, status = 200},
# Old subdomains
{from = "https://survey.spacy.io/*", to = "https://spacy.io", force = true},