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

This commit is contained in:
2026-02-04 11:38:29 +00:00
parent 3a85514820
commit 3537347e72
4 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

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

View File

@@ -10,4 +10,4 @@ The application is located in the `heatmap-tool` directory. Please refer to the
cd heatmap-tool
```
Inside, you will find a self-contained project with its own `docker-compose.yml` for easy setup.
Inside, you will find a self-contained project with its own `docker-compose.yml` for easy setup.