From 1e904eb7f457697f3858bbdbb43446763c084cb7 Mon Sep 17 00:00:00 2001 From: xucheng Date: Thu, 30 Oct 2025 08:56:07 +0000 Subject: [PATCH] chore(frontend): use 127.0.0.1:8000 in rewrites to avoid IPv6 (::1) --- frontend/next.config.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/next.config.mjs b/frontend/next.config.mjs index aba95b6..af90794 100644 --- a/frontend/next.config.mjs +++ b/frontend/next.config.mjs @@ -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", }, ]; },