diff --git a/framework/saleor/next.config.js b/framework/saleor/next.config.js index 9ea705c68..397a37b2a 100644 --- a/framework/saleor/next.config.js +++ b/framework/saleor/next.config.js @@ -2,4 +2,7 @@ const commerce = require('./commerce.config.json') module.exports = { commerce, + images: { + domains: [process.env.COMMERCE_IMAGE_HOST], + }, } diff --git a/next.config.js b/next.config.js index 0f55a31f1..77d586e6c 100644 --- a/next.config.js +++ b/next.config.js @@ -20,9 +20,6 @@ module.exports = withCommerceConfig({ locales: ['en-US', 'es'], defaultLocale: 'en-US', }, - images: { - domains: [process.env.COMMERCE_IMAGE_HOST], - }, rewrites() { return [ (isBC || isShopify || isSwell || isVendure) && {