Update netlify.toml

This commit is contained in:
Ines Montani 2020-07-01 13:23:58 +02:00
parent a0204e7d9a
commit 360e54863a
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,8 @@
redirects = [ 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
{from = "https://nightly.spacy.io/*", to="https://spacy-io-develop.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},
{from = "http://survey.spacy.io/*", to = "https://spacy.io", force = true}, {from = "http://survey.spacy.io/*", to = "https://spacy.io", force = true},