mirror of
https://github.com/vercel/commerce.git
synced 2025-07-04 12:11: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
|
preview?: boolean
|
||||||
query?: string
|
query?: string
|
||||||
} = {}): Promise<T['data']> {
|
} = {}): Promise<T['data']> {
|
||||||
const { fetch, locale, locales = ['en-US', 'es'] } = commerce.getConfig(
|
const { fetch, locale, locales = ['en-US'] } = commerce.getConfig(
|
||||||
config
|
config
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ const isVendure = provider === 'vendure'
|
|||||||
module.exports = withCommerceConfig({
|
module.exports = withCommerceConfig({
|
||||||
commerce,
|
commerce,
|
||||||
i18n: {
|
i18n: {
|
||||||
locales: ['en-US', 'es'],
|
locales: ['en-US'],
|
||||||
defaultLocale: 'en-US',
|
defaultLocale: 'en-US',
|
||||||
},
|
},
|
||||||
rewrites() {
|
rewrites() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user