Remove es locale.

This commit is contained in:
Daniel Gent 2021-08-23 19:17:01 +02:00
parent 0e7e7b7d5f
commit 60be39ed88
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ export default function getAllPagesOperation({
preview?: boolean
query?: string
} = {}): Promise<T['data']> {
const { fetch, locale, locales = ['en-US', 'es'] } = commerce.getConfig(
const { fetch, locale, locales = ['en-US'] } = commerce.getConfig(
config
)

View File

@ -14,7 +14,7 @@ const isVendure = provider === 'vendure'
module.exports = withCommerceConfig({
commerce,
i18n: {
locales: ['en-US', 'es'],
locales: ['en-US'],
defaultLocale: 'en-US',
},
rewrites() {