fix([2fd88f42]): resolve port conflict for heatmap service

This commit is contained in:
2026-02-04 11:38:29 +00:00
parent 279a6a7789
commit b875e67ca5
4 changed files with 4 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ services:
backend: backend:
build: ./backend build: ./backend
ports: ports:
- "8000:8000" - "8001:8000"
volumes: volumes:
- ./backend:/app - ./backend:/app

View File

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

View File

@@ -39,7 +39,7 @@ const FileUpload: React.FC<FileUploadProps> = ({ onUploadSuccess, setIsLoading,
setError(null); setError(null);
try { try {
const response = await axios.post('http://localhost:8000/api/upload', formData, { const response = await axios.post('http://localhost:8001/api/upload', formData, {
headers: { headers: {
'Content-Type': 'multipart/form-data', 'Content-Type': 'multipart/form-data',
}, },