fix(scraper): resolve port conflict by moving backend to 8002 [32788f42]
This commit is contained in:
@@ -9,7 +9,7 @@ services:
|
|||||||
env_file:
|
env_file:
|
||||||
- ./.env
|
- ./.env
|
||||||
ports:
|
ports:
|
||||||
- "8001:8000" # Map internal 8000 to external 8001 to avoid conflicts
|
- "8002:8000" # Map internal 8000 to external 8002 to avoid conflicts
|
||||||
volumes:
|
volumes:
|
||||||
- ./backend:/app # Mount the backend code for easier development
|
- ./backend:/app # Mount the backend code for easier development
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ function App() {
|
|||||||
const [isLoading, setIsLoading] = useState(false);
|
const [isLoading, setIsLoading] = useState(false);
|
||||||
const [error, setError] = useState<string | null>(null);
|
const [error, setError] = useState<string | null>(null);
|
||||||
|
|
||||||
const API_BASE_URL = import.meta.env.VITE_API_BASE_URL || 'http://localhost:8001';
|
const API_BASE_URL = import.meta.env.VITE_API_BASE_URL || 'http://localhost:8002';
|
||||||
|
|
||||||
const fetchJobs = async () => {
|
const fetchJobs = async () => {
|
||||||
setIsLoading(true);
|
setIsLoading(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user