update port phù hợp là 8001 và 3011

This commit is contained in:
2026-04-02 10:33:05 +07:00
parent 088b03c36f
commit a571438459
7 changed files with 14 additions and 12 deletions
+2 -2
View File
@@ -5,11 +5,11 @@ const nextConfig = {
return [
{
source: "/api/:path*",
destination: `${process.env.NEXT_PUBLIC_API_URL ?? "http://localhost:8000"}/api/:path*`,
destination: `${process.env.NEXT_PUBLIC_API_URL ?? "http://localhost:8001"}/api/:path*`,
},
{
source: "/ws/:path*",
destination: `${process.env.NEXT_PUBLIC_API_URL ?? "http://localhost:8000"}/ws/:path*`,
destination: `${process.env.NEXT_PUBLIC_API_URL ?? "http://localhost:8001"}/ws/:path*`,
},
];
},