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