mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-22 20:37:48 +00:00

* fix http plugin edge (#95) * fix http plugin edge * use getHandleId * perf: i18n file * feat: histories list * perf: request lock * fix: ts * move box components * fix: edit form refresh --------- Co-authored-by: heheer <71265218+newfish-cmyk@users.noreply.github.com>
15 lines
346 B
JavaScript
15 lines
346 B
JavaScript
//next-i18next.config.js
|
|
/**
|
|
* @type {import('next-i18next').UserConfig}
|
|
*/
|
|
|
|
module.exports = {
|
|
i18n: {
|
|
defaultLocale: 'zh',
|
|
locales: ['en', 'zh'],
|
|
localeDetection: false
|
|
},
|
|
localePath: typeof window === 'undefined' ? require('path').resolve('./i18n') : '/i18n',
|
|
reloadOnPrerender: process.env.NODE_ENV === 'development'
|
|
};
|