13 lines
No EOL
242 B
JavaScript
13 lines
No EOL
242 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: '/api/:path*',
|
|
destination: 'http://localhost:3000/api/:path*',
|
|
},
|
|
]
|
|
}
|
|
}
|
|
|
|
module.exports = nextConfig
|