fix: next config (#4207)

* reset package

* i18n

* update config

* i18n

* remove log
This commit is contained in:
Archer
2025-03-18 13:48:49 +08:00
committed by GitHub
parent 37f4dd3f27
commit 1bda5b5e58
38 changed files with 56 additions and 85 deletions

View File

@@ -7,7 +7,7 @@ import { clearToken } from '@/web/support/user/auth';
import { oauthLogin } from '@/web/support/user/api';
import { useToast } from '@fastgpt/web/hooks/useToast';
import Loading from '@fastgpt/web/components/common/MyLoading';
import { serviceSideProps } from '@/web/common/system/nextjs';
import { serviceSideProps } from '@/web/common/i18n/utils';
import { getErrText } from '@fastgpt/global/common/error/utils';
import { useTranslation } from 'next-i18next';
import { OAuthEnum } from '@fastgpt/global/support/user/constant';