настройка докер-связи с бэком
Build, Test and Push Flask App / docker-build-and-push (push) Successful in 1m44s
Build, Test and Push Flask App / deploy (push) Successful in 2m8s

This commit is contained in:
Joe_Peach committed 2026-09-28 18:07:35 +03:00
1 parent 29f788ed9a
commit 9fc422eb02
6 files changed
+47 -15

No files matched your search

+2 -2
View File
@@ -3,7 +3,7 @@ import axios, { AxiosInstance } from 'axios';
class ApiClient {
private axiosInstance: AxiosInstance;
constructor(baseURL: string = 'https://pvh.projects.rustprogersteam.ru/api') {
constructor(baseURL: string = import.meta.env.VITE_API_URL || '/api') {
this.axiosInstance = axios.create({
baseURL,
timeout: 10000,
@@ -71,4 +71,4 @@ class ApiClient {
}
}
export const client = new ApiClient();
export const client = new ApiClient();