fix docker-compose networking

This commit is contained in:
2024-07-13 22:14:35 +03:00
parent 56e6ba7b77
commit 689920bf7c
2 changed files with 9 additions and 1 deletions

View File

@ -8,7 +8,7 @@ type Assignment = {
events: string[];
};
const backend = axios.create({ baseURL: "http://localhost:1307" });
const backend = axios.create({ baseURL: "http://backend:1307" });
const RelayForm: React.FC = () => {
const [forms, setForms] = useState<{ [key: string]: React.ReactNode }>({});