From fd28afea41841b4d0153ed2ff60483188945f3d3 Mon Sep 17 00:00:00 2001 From: Oleg Urin Date: Tue, 31 Mar 2026 15:09:35 +0300 Subject: [PATCH] ... --- src/api/client.ts | 1 - vite.config.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/api/client.ts b/src/api/client.ts index a1d33a0..76e08df 100644 --- a/src/api/client.ts +++ b/src/api/client.ts @@ -12,7 +12,6 @@ class ApiClient { }, }); - // Интерцептор для обработки ошибок this.axiosInstance.interceptors.response.use( (response) => response, (error) => { diff --git a/vite.config.ts b/vite.config.ts index 13122b5..159db8d 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -7,7 +7,7 @@ export default defineConfig({ server: { host: '0.0.0.0', // Слушаем все интерфейсы port: 5173, - allowedHosts: ['rustprogersteam.ru'], + allowedHosts: ['pvh.projects.rustprogersteam.ru'], strictPort: true, // Запрещаем автоматический выбор порта hmr: { clientPort: 5173, // Важно для HMR в Docker