mirror of
https://github.com/vercel/commerce.git
synced 2025-06-20 06:01:21 +00:00
saleor: adjust the config
This commit is contained in:
parent
1959647846
commit
0d0b3fc7da
@ -2,4 +2,7 @@ const commerce = require('./commerce.config.json')
|
|||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
commerce,
|
commerce,
|
||||||
|
images: {
|
||||||
|
domains: [process.env.COMMERCE_IMAGE_HOST],
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
@ -20,9 +20,6 @@ module.exports = withCommerceConfig({
|
|||||||
locales: ['en-US', 'es'],
|
locales: ['en-US', 'es'],
|
||||||
defaultLocale: 'en-US',
|
defaultLocale: 'en-US',
|
||||||
},
|
},
|
||||||
images: {
|
|
||||||
domains: [process.env.COMMERCE_IMAGE_HOST],
|
|
||||||
},
|
|
||||||
rewrites() {
|
rewrites() {
|
||||||
return [
|
return [
|
||||||
(isBC || isShopify || isSwell || isVendure) && {
|
(isBC || isShopify || isSwell || isVendure) && {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user