ipv6-test-frontend/next.config.mjs

15 lines
279 B
JavaScript
Raw Permalink Normal View History

2024-08-10 23:47:17 +08:00
/** @type {import('next').NextConfig} */
2024-08-16 23:32:19 +08:00
const nextConfig = {
output: 'standalone',
2024-08-18 23:39:01 +08:00
async rewrites() {
return [
{
source: '/api/:path*',
destination: 'http://localhost:8080/:path*' // Proxy to Backend
}
]
}
2024-08-16 23:32:19 +08:00
}
2024-08-10 23:47:17 +08:00
export default nextConfig;