Compare commits

..

2 Commits

Author SHA1 Message Date
Vladislav Drozdov f8d822ace7 Merge pull request 'test env' (#57) from redisign into rc
test-org/trust-module-frontend/pipeline/pr-main There was a failure building this commit Details
Reviewed-on: http://git.enode/deployer3000/trust-module-frontend/pulls/57
Reviewed-by: Vladislav Drozdov <ya2@ya.ru>
2025-08-11 14:38:54 +03:00
SovietSpiderCat fd5a202d74 test env
test-org/trust-module-frontend/pipeline/pr-rc Build started... Details
2025-08-11 14:37:29 +03:00
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ class MetricsService {
} }
console.log('Connecting WebSocket...'); 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'], transports: ['websocket'],
withCredentials: true, 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; export default metricsService;