Don't use checkout for saleor

This commit is contained in:
goncy
2021-09-24 10:58:25 -03:00
parent 4195874c22
commit 84b3a131f5
2 changed files with 2 additions and 3 deletions

View File

@@ -1,7 +1,6 @@
{
"provider": "saleor",
"features": {
"wishlist": false,
"customCheckout": true
"wishlist": false
}
}

View File

@@ -19,7 +19,7 @@ module.exports = withCommerceConfig({
},
rewrites() {
return [
(isBC || isShopify || isSwell || isVendure) && {
(isBC || isShopify || isSwell || isVendure || isSaleor) && {
source: '/checkout',
destination: '/api/checkout',
},