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", "provider": "saleor",
"features": { "features": {
"wishlist": false, "wishlist": false
"customCheckout": true
} }
} }

View File

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