Archived
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
18 lines
347 B
JavaScript
18 lines
347 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: '/api/:path*',
|
|
destination: 'http://localhost:8000/api/:path*',
|
|
},
|
|
{
|
|
source: '/ws/:path*',
|
|
destination: 'http://localhost:8000/ws/:path*',
|
|
},
|
|
];
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|