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