Page URL: https://www.typescriptlang.org/docs/home
Issue: I came across the link https://www.typescriptlang.org/docs/home.html which redirected to /docs/home however this has an infinite redirection/ loading issue.
I think a simple fix would be change the veryOldRedirects in packages/typescriptlang-org/src/redirects/setupRedirects.ts to be
const veryOldRedirects = {
Playground: "/play/",
Tutorial: "/docs",
Handbook: "/docs",
samples: "/docs",
"/docs/home.html": "/docs/",
"/playground": "/play/",
"/docs/home": "/docs/",
}
but I'm not fully sure why /docs/home is broken to begin with. It seems to work locally, but the current veryOldRedirects also seems to work locally 🤷
Page URL: https://www.typescriptlang.org/docs/home
Issue: I came across the link https://www.typescriptlang.org/docs/home.html which redirected to /docs/home however this has an infinite redirection/ loading issue.
I think a simple fix would be change the
veryOldRedirectsinpackages/typescriptlang-org/src/redirects/setupRedirects.tsto bebut I'm not fully sure why
/docs/homeis broken to begin with. It seems to work locally, but the currentveryOldRedirectsalso seems to work locally 🤷