fix: 修复常规请求api路径缺失问题

This commit is contained in:
2025-12-12 20:44:33 +08:00
parent 14137c5472
commit 7d3a809fa7

View File

@@ -10,7 +10,7 @@ const nextConfig: NextConfig = {
return [ return [
{ {
source: '/api/:path*', source: '/api/:path*',
destination: 'http://localhost:3001/:path*', destination: 'http://localhost:3001/api/:path*',
} }
] ]
}, },