mirror of
https://github.com/vercel/commerce.git
synced 2025-06-19 05:31:22 +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',
|
||||
destination: '/search',
|
||||
},
|
||||
].filter((x) => x)
|
||||
].filter(Boolean)
|
||||
},
|
||||
})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user