diff --git a/website/src/pages/releases.tsx b/website/src/pages/releases.tsx new file mode 100644 index 00000000000..b0ad09a9eb0 --- /dev/null +++ b/website/src/pages/releases.tsx @@ -0,0 +1,22 @@ +/** + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ +import Layout from '@theme/Layout'; +import React, {useEffect} from 'react'; + +const Releases = () => { + useEffect(() => { + location.href = '/docs/next/releases'; + }, []); + + return ( + +
Redirecting...
+
+ ); +}; + +export default Releases; diff --git a/website/static/_redirects b/website/static/_redirects index cd366db3423..0c640aeee5d 100644 --- a/website/static/_redirects +++ b/website/static/_redirects @@ -14,7 +14,6 @@ /contributing/how-to-contribute /contributing/overview /contributing/how-to-file-an-issue /contributing/how-to-report-a-bug -/releases/release-candidate-minor /releases/release-branch-cut-and-rc0 # Redirect New Architecture docs of all versions # Note: We had to delete the older versions to get redirects to work