saleor: adjust the config

This commit is contained in:
Zaiste 2021-05-20 12:03:36 +02:00
parent 1959647846
commit 0d0b3fc7da
No known key found for this signature in database
GPG Key ID: 15DF7EBC7F2FFE35
2 changed files with 3 additions and 3 deletions

View File

@ -2,4 +2,7 @@ const commerce = require('./commerce.config.json')
module.exports = { module.exports = {
commerce, commerce,
images: {
domains: [process.env.COMMERCE_IMAGE_HOST],
},
} }

View File

@ -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) && {