17 lines
348 B
JavaScript
17 lines
348 B
JavaScript
/** @type {import("next").NextConfig} */
|
|
const nextConfig = {
|
|
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;
|