Skip to content

Commit 2fb465d

Browse files
authored
Add redirects from old subdomains (#1043)
1 parent 166c0c2 commit 2fb465d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

_redirects

+6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
---
22
layout: null
33
---
4+
5+
# Redirect from default Netlify subdomain
6+
https://yarnpkg.netlify.com/* https://classic.yarnpkg.com/:splat 301!
7+
# Redirect from "legacy" subdomain, as we renamed it to "classic".
8+
https://legacy.yarnpkg.com/* https://classic.yarnpkg.com/:splat 301!
9+
410
/:lang/packages/ /lang/:lang/packages 200
511
/:lang/package/* /lang/:lang/package 200
612

0 commit comments

Comments
 (0)