fix([2fd88f42]): resolve port conflict to 8002

This commit is contained in:
2026-02-04 11:44:17 +00:00
parent 3537347e72
commit 8bec665ac5
3 changed files with 3 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ services:
backend: backend:
build: ./backend build: ./backend
ports: ports:
- "8001:8000" - "8002: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:8001/api/heatmap', { const response = await axios.post('http://localhost:8002/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:8001/api/upload', formData, { const response = await axios.post('http://localhost:8002/api/upload', formData, {
headers: { headers: {
'Content-Type': 'multipart/form-data', 'Content-Type': 'multipart/form-data',
}, },