Update netlify.toml [ci skip]

This commit is contained in:
Ines Montani 2021-02-01 13:26:32 +11:00
parent 4ca0f91506
commit b80bce7a07
1 changed files with 1 additions and 3 deletions

View File

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