test env
test-org/trust-module-frontend/pipeline/pr-rc Build started... Details

pull/57/head
SovietSpiderCat 2025-08-11 14:37:29 +03:00
parent 00866d9d57
commit fd5a202d74
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ class MetricsService {
}
console.log('Connecting WebSocket...');
this.socket = io(`${this.baseUrl.replace('http', 'ws')}/ws`, {
this.socket = io(`${this.baseUrl.replace('http', 'ws')}/api/metrics-ws`, {
transports: ['websocket'],
withCredentials: true,
});
@ -152,6 +152,6 @@ class MetricsService {
}
// Создаем экземпляр сервиса
const metricsService = new MetricsService();
const metricsService = new MetricsService(import.meta.env.VITE_BACK_URL);
export default metricsService;