This commit is contained in:
quantulr
2023-11-06 17:27:50 +08:00
parent b6a722fa79
commit a8b1ad286d
123 changed files with 491 additions and 428 deletions

View File

@ -1,10 +1,16 @@
/** @type {import('next').NextConfig} */
/** @type {import("next").NextConfig} */
const nextConfig = {
eslint: {
// Warning: This allows production builds to successfully complete even if
// your project has ESLint errors.
// ignoreDuringBuilds: true,
},
}
async rewrites() {
return [
{
source: "/api/:path*",
destination: "http://localhost:8084/api/:path*"
}, {
source: "/admin-api/:path*",
destination: "http://localhost:8082/api/:path*"
},
];
}
};
module.exports = nextConfig
module.exports = nextConfig;