diff --git a/framework/shopify/api/operations/get-all-pages.ts b/framework/shopify/api/operations/get-all-pages.ts index 58bc6a94b..c5c26fb9a 100644 --- a/framework/shopify/api/operations/get-all-pages.ts +++ b/framework/shopify/api/operations/get-all-pages.ts @@ -38,7 +38,7 @@ export default function getAllPagesOperation({ preview?: boolean query?: string } = {}): Promise { - const { fetch, locale, locales = ['en-US', 'es'] } = commerce.getConfig( + const { fetch, locale, locales = ['en-US'] } = commerce.getConfig( config ) diff --git a/next.config.js b/next.config.js index 515b2ae7c..721fe46e4 100644 --- a/next.config.js +++ b/next.config.js @@ -14,7 +14,7 @@ const isVendure = provider === 'vendure' module.exports = withCommerceConfig({ commerce, i18n: { - locales: ['en-US', 'es'], + locales: ['en-US'], defaultLocale: 'en-US', }, rewrites() {