From 0d0b3fc7daa3e7d682d3501f85ec2c4491a7290f Mon Sep 17 00:00:00 2001
From: Zaiste <oh@zaiste.net>
Date: Thu, 20 May 2021 12:03:36 +0200
Subject: [PATCH] saleor: adjust the config

---
 framework/saleor/next.config.js | 3 +++
 next.config.js                  | 3 ---
 2 files changed, 3 insertions(+), 3 deletions(-)

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