fix(frontend): Update route.ts default backend port(#1892)

This commit is contained in:
qqwas
2026-04-06 14:54:50 +08:00
committed by GitHub
parent 7c68dd4ad4
commit ee06440205
+1 -1
View File
@@ -1,7 +1,7 @@
import type { NextRequest } from "next/server";
const BACKEND_BASE_URL =
process.env.NEXT_PUBLIC_BACKEND_BASE_URL ?? "http://127.0.0.1:8010";
process.env.NEXT_PUBLIC_BACKEND_BASE_URL ?? "http://127.0.0.1:8001";
function buildBackendUrl(pathname: string) {
return new URL(pathname, BACKEND_BASE_URL);