1
0
mirror of https://github.com/vercel/commerce.git synced 2025-07-25 19:21:23 +00:00

refactor(config): chenged the way falsy values are filtered out from the rewrites array

This commit is contained in:
Dennis Morello
2021-04-06 11:00:38 +02:00
parent f770ad7a91
commit 65f7d3e909

@@ -40,7 +40,7 @@ module.exports = withCommerceConfig({
source: '/search/:category', source: '/search/:category',
destination: '/search', destination: '/search',
}, },
].filter((x) => x) ].filter(Boolean)
}, },
}) })