using the new testing endpoint

This commit is contained in:
2025-07-02 01:41:07 +03:00
parent 112757d5a6
commit 79922fbc0b
10 changed files with 13 additions and 13 deletions

View File

@@ -52,7 +52,7 @@ const Temperature = () => {
setRefreshing(true);
}
const response = await fetch('http://10.150.1.167:8003/prom/get_chart_data/temperature/20');
const response = await fetch('http://141.196.166.241:8003/prom/get_chart_data/temperature/20');
const result = await response.json();
if (result.data && result.data.length > 0) {
@@ -337,7 +337,7 @@ const Temperature = () => {
const handleTemperatureDecision = async (approval: boolean) => {
try {
setDecisionLoading(true);
const response = await fetch('http://10.150.1.167:8003/prom/temperature/decisions?approval=' + approval, {
const response = await fetch('http://141.196.166.241:8003/prom/temperature/decisions?approval=' + approval, {
method: 'POST',
headers: {
'accept': 'application/json',