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