From aeb895a9dcfabe562f02308c0a0f082cdb9b16a0 Mon Sep 17 00:00:00 2001 From: lekss361 Date: Thu, 21 May 2026 10:15:44 +0300 Subject: [PATCH] =?UTF-8?q?fix(tradein):=20PDF-=D1=81=D1=81=D1=8B=D0=BB?= =?UTF-8?q?=D0=BA=D0=B0=20=D1=87=D0=B5=D1=80=D0=B5=D0=B7=20API=5FBASE=5FUR?= =?UTF-8?q?L=20(basePath)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit href Скачать PDF был /api/v1/... без префикса /trade-in → попадал в main gendesign backend (404). Та же причина что #373 для apiFetch. --- tradein-mvp/frontend/src/components/trade-in/OfferCard.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tradein-mvp/frontend/src/components/trade-in/OfferCard.tsx b/tradein-mvp/frontend/src/components/trade-in/OfferCard.tsx index 13cd9d61..70052aae 100644 --- a/tradein-mvp/frontend/src/components/trade-in/OfferCard.tsx +++ b/tradein-mvp/frontend/src/components/trade-in/OfferCard.tsx @@ -5,6 +5,7 @@ * Сравнение trade-in vs самостоятельная продажа + 4 преимущества + CTA. */ import type { AggregatedEstimate } from "@/types/trade-in"; +import { API_BASE_URL } from "@/lib/api"; interface Props { estimate: AggregatedEstimate; @@ -174,7 +175,7 @@ export function OfferCard({ estimate }: Props) {