mirror of
https://github.com/labring/FastGPT.git
synced 2025-08-03 13:38:00 +00:00
i18n
This commit is contained in:
@@ -4,6 +4,7 @@ import { ChevronRightIcon } from '@chakra-ui/icons';
|
||||
import MyIcon from '@/components/Icon';
|
||||
import { useRouter } from 'next/router';
|
||||
import { feConfigs } from '@/store/static';
|
||||
import { serviceSideProps } from '@/utils/i18n';
|
||||
|
||||
const list = [
|
||||
{
|
||||
@@ -57,4 +58,12 @@ const Tools = () => {
|
||||
);
|
||||
};
|
||||
|
||||
export async function getServerSideProps(content: any) {
|
||||
return {
|
||||
props: {
|
||||
...(await serviceSideProps(content))
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
export default Tools;
|
||||
|
Reference in New Issue
Block a user