fix([2fd88f42]): resolve port conflict for heatmap service
This commit is contained in:
@@ -4,7 +4,7 @@ services:
|
||||
backend:
|
||||
build: ./backend
|
||||
ports:
|
||||
- "8000:8000"
|
||||
- "8001:8000"
|
||||
volumes:
|
||||
- ./backend:/app
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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',
|
||||
},
|
||||
|
||||
@@ -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.
|
||||
Reference in New Issue
Block a user