✏️ Try to fix locales on vercel

This commit is contained in:
ajnart
2023-01-18 17:54:18 +09:00
parent ab4b475540
commit f0ff5d453d

View File

@@ -1,3 +1,5 @@
const path = require('path');
module.exports = { module.exports = {
// https://www.i18next.com/overview/configuration-options#logging // https://www.i18next.com/overview/configuration-options#logging
i18n: { i18n: {
@@ -23,6 +25,7 @@ module.exports = {
'uk', 'uk',
'zh', 'zh',
], ],
localePath: path.resolve('./public/locales'),
fallbackLng: 'en', fallbackLng: 'en',
localeDetection: true, localeDetection: true,
returnEmptyString: false, returnEmptyString: false,