Compare commits

..

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

2 changed files with 3 additions and 3 deletions

View File

@ -145,7 +145,7 @@ const PrometheusChart = ({ metricName }) => {
if (socketRef.current.reconnecting) return socketRef.current;
}
const socket = io('http://192.168.2.39:3000/api/metrics-ws', {
const socket = io('http://192.168.2.39:3000/metrics-ws', {
transports: ['websocket'],
reconnection: true,
reconnectionAttempts: Infinity,
@ -192,7 +192,7 @@ const PrometheusChart = ({ metricName }) => {
const rangeSeconds = end - start;
try {
const response = await axios.get(`${import.meta.env.VITE_BACK_URL}/api/metrics`, {
const response = await axios.get(`${import.meta.env.VITE_BACK_URL}/metrics`, {
params: {
metric: metricName,
start,

View File

@ -17,7 +17,7 @@ const LoginModal = ({ onLogin, onClose }) => {
try {
// Отправляем данные на бэкенд
const response = await fetch(`${import.meta.env.VITE_BACK_URL}/api/auth/login`, {
const response = await fetch(`${import.meta.env.VITE_BACK_URL}/auth/login`, {
method: 'POST',
headers: {
'Content-Type': 'application/json',