sewerage-service/api api제거

This commit is contained in:
ljpark
2025-10-23 13:09:47 +09:00
parent 2106762987
commit b161435a91
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ export function middleware(req: NextRequest) {
const url = req.nextUrl.clone();
url.searchParams.set("TYPENAME", typename.replace("hasudo:", ""));
queryParams = url.searchParams.toString();
newUrl = `${SEWERAGE_API_URL}/v1/map/geometry${queryParams ? `?${queryParams}` : ""}`;
newUrl = `${SEWERAGE_API_URL}/api/v1/map/geometry${queryParams ? `?${queryParams}` : ""}`;
}
console.log(`[Middleware] Rewriting from '/geoserver' path to: ${newUrl}`);