diff --git a/src/api/client.ts b/src/api/client.ts index 6bd3591..e0b27e3 100644 --- a/src/api/client.ts +++ b/src/api/client.ts @@ -3,7 +3,7 @@ import axios, { AxiosInstance } from 'axios'; class ApiClient { private axiosInstance: AxiosInstance; - constructor(baseURL: string = 'https://pvh.projects.rustprogersteam.ru') { + constructor(baseURL: string = 'https://pvh.projects.rustprogersteam.ru/api') { this.axiosInstance = axios.create({ baseURL, timeout: 10000, @@ -71,4 +71,4 @@ class ApiClient { } } -export const client = new ApiClient('https://pvh.projects.rustprogersteam.ru/api'); \ No newline at end of file +export const client = new ApiClient(); \ No newline at end of file