调整前端目录结构

This commit is contained in:
2025-05-10 12:08:04 +08:00
parent 3c7d84165c
commit 8e09da9912
41 changed files with 2909 additions and 355 deletions

View File

@@ -2,6 +2,14 @@ import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
async rewrites() {
return [
{
source: '/api/:path*',
destination: 'http://localhost:3001/:path*',
}
]
},
};
export default nextConfig;