mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
Don't use checkout for saleor
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
{
|
{
|
||||||
"provider": "saleor",
|
"provider": "saleor",
|
||||||
"features": {
|
"features": {
|
||||||
"wishlist": false,
|
"wishlist": false
|
||||||
"customCheckout": true
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -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',
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user