update
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user