fix([2fd88f42]): implement vite proxy for robust API calls and add logging

This commit is contained in:
2026-02-04 12:13:45 +00:00
parent 64d3285320
commit 98c6b79086
4 changed files with 18 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ function App() {
setIsLoading(true);
setError(null);
try {
const response = await axios.post('http://backend:8000/api/heatmap', {
const response = await axios.post('/api/heatmap', {
filters: selectedFilters,
});
setHeatmapData(response.data);