Fix redirects (#3516)

This commit is contained in:
Dan Abramov
2021-02-10 03:40:26 +00:00
committed by GitHub
parent ef85b1b0fd
commit 02df22a20f

View File

@@ -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 => ({