mirror of
https://github.com/vercel/commerce.git
synced 2025-06-18 21:21:21 +00:00
refactor(config): chenged the way falsy values are filtered out from the rewrites array
#259
This commit is contained in:
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)
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user