seo 检索开关

This commit is contained in:
ryan
2026-06-09 08:35:13 +08:00
parent b0023787c5
commit 2ae55da52e
16 changed files with 163 additions and 5 deletions
+5
View File
@@ -30,6 +30,11 @@ const nextConfig: NextConfig = {
source: '/f/:id',
destination: `${ backendUrl }/f/:id`,
},
// robots.txt 路由代理到后端动态接口
{
source: '/robots.txt',
destination: `${ backendUrl }/robots.txt`,
},
// 标准 RESTful API 接口
{
source: '/api/:path*',