mirror of
https://github.com/lobehub/lobehub.git
synced 2026-03-27 13:29:15 +07:00
🐛 fix(vercel): Fix deploy
This commit is contained in:
@@ -11,6 +11,8 @@ module.exports = {
|
||||
defaultLocale: i18n.entryLocale,
|
||||
locales: [i18n.entryLocale, ...i18n.outputLocales],
|
||||
},
|
||||
localePath:
|
||||
typeof window === 'undefined' ? require('node:path').resolve('./', i18n.output) : '/locales',
|
||||
react: { useSuspense: false },
|
||||
reloadOnPrerender: process.env.NODE_ENV === 'development',
|
||||
strictMode: true,
|
||||
|
||||
@@ -4,6 +4,8 @@ import Head from 'next/head';
|
||||
import { memo } from 'react';
|
||||
import { Flexbox } from 'react-layout-kit';
|
||||
|
||||
import { Sessions } from '@/pages/chat/SessionList';
|
||||
|
||||
import Sidebar from '../Sidebar';
|
||||
import Header from './Header';
|
||||
|
||||
@@ -16,6 +18,7 @@ const SettingLayout = memo(() => {
|
||||
</Head>
|
||||
<Flexbox horizontal width={'100%'}>
|
||||
<Sidebar />
|
||||
<Sessions />
|
||||
<Flexbox flex={1}>
|
||||
<Header />
|
||||
</Flexbox>
|
||||
|
||||
Reference in New Issue
Block a user