chore(frontend): use 127.0.0.1:8000 in rewrites to avoid IPv6 (::1)

This commit is contained in:
xucheng 2025-10-30 08:56:07 +00:00
parent cb0a12eef5
commit 1e904eb7f4

View File

@ -17,11 +17,11 @@ const nextConfig = {
return [
{
source: "/api/:path*",
destination: "http://localhost:8000/api/:path*",
destination: "http://127.0.0.1:8000/api/:path*",
},
{
source: "/health",
destination: "http://localhost:8000/health",
destination: "http://127.0.0.1:8000/health",
},
];
},