mirror of
https://github.com/vercel/commerce.git
synced 2025-07-03 19:51:22 +00:00
Remove es locale.
This commit is contained in:
parent
0e7e7b7d5f
commit
60be39ed88
@ -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
|
||||
)
|
||||
|
||||
|
@ -14,7 +14,7 @@ const isVendure = provider === 'vendure'
|
||||
module.exports = withCommerceConfig({
|
||||
commerce,
|
||||
i18n: {
|
||||
locales: ['en-US', 'es'],
|
||||
locales: ['en-US'],
|
||||
defaultLocale: 'en-US',
|
||||
},
|
||||
rewrites() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user