Compare commits
No commits in common. "c1b0f10e6272b47186fe926d60ec4d1e35af23cb" and "4eed2f364c0e801c729667b8a9fe291c4c8ad390" have entirely different histories.
c1b0f10e62
...
4eed2f364c
|
|
@ -144,8 +144,8 @@ const PrometheusChart = ({ metricName }) => {
|
||||||
// Если соединение в процессе переподключения, тоже возвращаем
|
// Если соединение в процессе переподключения, тоже возвращаем
|
||||||
if (socketRef.current.reconnecting) return socketRef.current;
|
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'],
|
transports: ['websocket'],
|
||||||
reconnection: true,
|
reconnection: true,
|
||||||
reconnectionAttempts: Infinity,
|
reconnectionAttempts: Infinity,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue