Compare commits

..

No commits in common. "c1b0f10e6272b47186fe926d60ec4d1e35af23cb" and "4eed2f364c0e801c729667b8a9fe291c4c8ad390" have entirely different histories.

1 changed files with 2 additions and 2 deletions

View File

@ -144,8 +144,8 @@ const PrometheusChart = ({ metricName }) => {
// Если соединение в процессе переподключения, тоже возвращаем
if (socketRef.current.reconnecting) return socketRef.current;
}
//VITE_BACK_WS_URL
const socket = io(`${import.meta.env.VITE_BACK_WS_URL}/api/metrics-ws`, {
const socket = io('http://192.168.2.39:3000/api/metrics-ws', {
transports: ['websocket'],
reconnection: true,
reconnectionAttempts: Infinity,