14 lines
244 B
TypeScript
14 lines
244 B
TypeScript
|
|
/** @type {import('next').NextConfig} */
|
||
|
|
const nextConfig = {
|
||
|
|
async rewrites() {
|
||
|
|
return [
|
||
|
|
{
|
||
|
|
source: '/api/:path*',
|
||
|
|
destination: 'http://localhost:3001/api/:path*',
|
||
|
|
},
|
||
|
|
];
|
||
|
|
},
|
||
|
|
};
|
||
|
|
|
||
|
|
export default nextConfig;
|