mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-25 23:05:23 +00:00
Fix redirects (#3516)
This commit is contained in:
@@ -23,7 +23,7 @@ exports.onPostBuild = async ({store}) => {
|
||||
);
|
||||
|
||||
// versions.yml structure is [{path: string, url: string, ...}, ...]
|
||||
createRedirects(
|
||||
await createRedirects(
|
||||
versions
|
||||
.filter(version => version.path && version.url)
|
||||
.map(version => ({
|
||||
|
||||
Reference in New Issue
Block a user