diff --git a/heatmap-tool/docker-compose.yml b/heatmap-tool/docker-compose.yml index 9daa7b19..6a392936 100644 --- a/heatmap-tool/docker-compose.yml +++ b/heatmap-tool/docker-compose.yml @@ -4,7 +4,7 @@ services: backend: build: ./backend ports: - - "8000:8000" + - "8001:8000" volumes: - ./backend:/app diff --git a/heatmap-tool/frontend/src/App.tsx b/heatmap-tool/frontend/src/App.tsx index 59f86f57..5913075a 100644 --- a/heatmap-tool/frontend/src/App.tsx +++ b/heatmap-tool/frontend/src/App.tsx @@ -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); diff --git a/heatmap-tool/frontend/src/components/FileUpload.tsx b/heatmap-tool/frontend/src/components/FileUpload.tsx index c5d4e180..436db851 100644 --- a/heatmap-tool/frontend/src/components/FileUpload.tsx +++ b/heatmap-tool/frontend/src/components/FileUpload.tsx @@ -39,7 +39,7 @@ const FileUpload: React.FC = ({ 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', }, diff --git a/readme.md b/readme.md index eb78ffb6..5eaa0bdb 100644 --- a/readme.md +++ b/readme.md @@ -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. \ No newline at end of file