fix port
This commit is contained in:
@ -6,13 +6,13 @@ services:
|
|||||||
context: ./frontend
|
context: ./frontend
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
ports:
|
ports:
|
||||||
- "1307:80" # Map port 80 of the frontend container to port 3000 on localhost
|
- "1307:80"
|
||||||
depends_on:
|
depends_on:
|
||||||
- backend # Ensure backend service is started before frontend
|
- backend
|
||||||
|
|
||||||
backend:
|
backend:
|
||||||
build:
|
build:
|
||||||
context: ./backend
|
context: ./backend
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
ports:
|
ports:
|
||||||
- "1308:8080" # Map port 8080 of the backend container to port 8080 on localhost
|
- "1308:8080"
|
||||||
|
|||||||
@ -8,7 +8,7 @@ type Assignment = {
|
|||||||
events: string[];
|
events: string[];
|
||||||
};
|
};
|
||||||
|
|
||||||
const backend = axios.create({ baseURL: "http://localhost:8080" });
|
const backend = axios.create({ baseURL: "http://localhost:1307" });
|
||||||
|
|
||||||
const RelayForm: React.FC = () => {
|
const RelayForm: React.FC = () => {
|
||||||
const [forms, setForms] = useState<{ [key: string]: React.ReactNode }>({});
|
const [forms, setForms] = useState<{ [key: string]: React.ReactNode }>({});
|
||||||
|
|||||||
Reference in New Issue
Block a user