From f6e2de8e32a2ea57a1c1e67379067f4c73d6f56b Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Sat, 30 Jan 2021 20:32:12 +1100 Subject: [PATCH] Update netlify.toml [ci skip] --- netlify.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/netlify.toml b/netlify.toml index ddcd0ca6c..cb61ede04 100644 --- a/netlify.toml +++ b/netlify.toml @@ -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},