From c5efaaa5b36c98c427a268f0a4a8349db84900a6 Mon Sep 17 00:00:00 2001 From: openit Date: Fri, 6 Mar 2026 20:33:21 +0000 Subject: [PATCH] phase 3 20 env --- frontend-client/src/api/client.ts | 2 +- frontend-client/src/app/tickets/[id]/page.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend-client/src/api/client.ts b/frontend-client/src/api/client.ts index 1fb53f6..217c3a0 100644 --- a/frontend-client/src/api/client.ts +++ b/frontend-client/src/api/client.ts @@ -2,7 +2,7 @@ import axios from "axios"; import { useAuthStore } from "@/store/authStore"; const apiClient = axios.create({ - baseURL: process.env.NEXT_PUBLIC_API_URL ?? "http://localhost:8081/api", + baseURL: process.env.NEXT_PUBLIC_API_URL ?? "http://localhost:8000/api", headers: { "Content-Type": "application/json" }, }); diff --git a/frontend-client/src/app/tickets/[id]/page.tsx b/frontend-client/src/app/tickets/[id]/page.tsx index 15d7beb..926a68f 100644 --- a/frontend-client/src/app/tickets/[id]/page.tsx +++ b/frontend-client/src/app/tickets/[id]/page.tsx @@ -11,7 +11,7 @@ import { getMyTicketsApi, type TicketResponse } from "@/api/client"; /** Replace internal MinIO hostname with the externally accessible address */ const MINIO_INTERNAL = "http://minio:9000"; -const MINIO_EXTERNAL = "http://192.168.149.101:9000"; +const MINIO_EXTERNAL = process.env.NEXT_PUBLIC_MINIO_URL ?? "http://localhost:9000"; const RU_MONTHS = [ "Января", "Февраля", "Марта", "Апреля", "Мая", "Июня",