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 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",