astock-agent/frontend/next.config.js
2026-04-07 20:51:00 +08:00

18 lines
335 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
async rewrites() {
return [
{
source: "/api/:path*",
destination: "http://localhost:8000/api/:path*",
},
{
source: "/ws",
destination: "http://localhost:8000/ws",
},
];
},
};
module.exports = nextConfig;