From dceca3264d11c8f3324e0d26c752f8ada2cc52cc Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Sun, 24 Feb 2019 13:37:41 +0100 Subject: [PATCH 1/2] Tidy up package.json [ci skip] --- website/package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/website/package.json b/website/package.json index 7538c72de..ea79854cf 100644 --- a/website/package.json +++ b/website/package.json @@ -40,7 +40,6 @@ "gatsby-transformer-sharp": "^2.1.13", "html-to-react": "^1.3.4", "node-sass": "^4.11.0", - "npm": "^6.8.0", "parse-numeric-range": "0.0.2", "prismjs": "^1.15.0", "prop-types": "^15.7.2", From 09bf08b3c3feeb0e60529400e0ec6dfb39c17b38 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Sun, 24 Feb 2019 13:37:50 +0100 Subject: [PATCH 2/2] Update redirects [ci skip] --- website/netlify.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/website/netlify.toml b/website/netlify.toml index 066bd94ef..4fe4a2b94 100644 --- a/website/netlify.toml +++ b/website/netlify.toml @@ -2,6 +2,11 @@ redirects = [ # Netlify # TODO: uncomment once the site is switched over # {from = "https://spacy.netlify.com/*", to="https://spacy.io/:splat" }, + # Old subdomains + {from = "https://survey.spacy.io/*", to = "https://spacy.io", force = true}, + {from = "http://survey.spacy.io/*", to = "https://spacy.io", force = true}, + {from = "https://alpha.spacy.io/*", to = "https://spacy.io", force = true}, + {from = "http://alpha.spacy.io/*", to = "https://spacy.io", force = true}, # Old demos {from = "/demos/*", to = "https://explosion.ai/demos/:splat"}, # Old blog