changed ip for testing

This commit is contained in:
2025-07-01 16:17:03 +03:00
parent c564d0ae0a
commit 112757d5a6
12 changed files with 45 additions and 39 deletions

View File

@@ -53,12 +53,15 @@ const StyledListItemButton = styled(ListItemButton)(({ theme }) => ({
fontSize: '0.9rem',
color: theme.palette.text.secondary,
transition: 'all 0.2s ease',
'&.Mui-selected': {
background: '#028a4a',
color: '#ffffff',
'& .MuiListItemIcon-root': {
color: '#ffffff',
},
'& .MuiListItemIcon-root svg': {
stroke: '#ffffff',
color: '#ffffff',
},
'& .MuiListItemText-primary': {
color: '#ffffff',
@@ -67,8 +70,12 @@ const StyledListItemButton = styled(ListItemButton)(({ theme }) => ({
'&:hover': {
backgroundColor: '#f8f8f8',
color: '#028a4a',
'& .MuiListItemIcon-root': {
color: '#028a4a',
},
'& .MuiListItemIcon-root svg': {
stroke: '#028a4a',
color: '#028a4a',
},
'& .MuiListItemText-primary': {
color: '#028a4a',

View File

@@ -21,7 +21,7 @@ interface VMPlacementData {
}>;
}
const ENDPOINT = 'http://141.196.83.136:8003/prom/get_chart_data/vm_placement';
const ENDPOINT = 'http://10.150.1.167:8003/prom/get_chart_data/vm_placement';
const REFRESH_INTERVAL = 30000; // 30 seconds
const SummaryStats: React.FC = () => {

View File

@@ -1,7 +1,7 @@
import { useState, useEffect } from 'react';
import { VMDetails, GainBeforeData, MigrationAdviceData } from './types';
const API_BASE_URL = 'http://141.196.83.136:8003';
const API_BASE_URL = 'http://10.150.1.167:8003';
const REFRESH_INTERVAL = 30000; // 30 seconds
interface GainAfterData {