17 lines
358 B
JavaScript
17 lines
358 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
output: 'export',
|
|
async rewrites() {
|
|
return {
|
|
fallback: [
|
|
{
|
|
source: '/api/:path*',
|
|
destination: 'http://localhost:8080/api/:path*',
|
|
}
|
|
]
|
|
}
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|