🔧 chore: update basic config

This commit is contained in:
arvinxx
2025-12-20 20:23:40 +08:00
parent 10e048c9c5
commit 2da0691d4e
14 changed files with 177 additions and 56 deletions
+20 -19
View File
@@ -255,40 +255,41 @@ const nextConfig: NextConfig = {
source: '/manifest.json',
},
{
destination: '/discover/assistant',
destination: '/community/assistant',
permanent: true,
source: '/discover/assistants',
source: '/community/assistants',
},
{
destination: '/discover/plugin',
destination: '/community/plugin',
permanent: true,
source: '/discover/plugins',
source: '/community/plugins',
},
{
destination: '/discover/model',
destination: '/community/model',
permanent: true,
source: '/discover/models',
source: '/community/models',
},
{
destination: '/discover/provider',
destination: '/community/provider',
permanent: true,
source: '/discover/providers',
source: '/community/providers',
},
// Legacy redirects from /discover to /community
{
destination: '/community',
permanent: true,
source: '/discover',
},
{
destination: '/community/:path*',
permanent: true,
source: '/discover/:path*',
},
// {
// destination: '/settings/common',
// permanent: true,
// source: '/settings',
// },
// {
// destination: '/chat',
// permanent: false,
// source: '/',
// },
{
destination: '/chat',
permanent: true,
source: '/welcome',
},
// we need back /repos url in the further
{
destination: '/files',
@@ -306,7 +307,7 @@ const nextConfig: NextConfig = {
? void 0
: codeInspectorPlugin({
bundler: 'turbopack',
hotKeys: ['altKey'],
hotKeys: ['altKey', 'ctrlKey'],
}),
},