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