diff --git a/main-web/client/.env b/main-web/client/.env index 988c041..47ac766 100644 --- a/main-web/client/.env +++ b/main-web/client/.env @@ -1 +1 @@ -REACT_APP_API_URL=http://localhost:7000/ \ No newline at end of file +REACT_APP_API_URL=http://localhost:8080/ \ No newline at end of file diff --git a/main-web/client/src/components/contact.tsx b/main-web/client/src/components/contact.tsx index 026e146..879c8eb 100644 --- a/main-web/client/src/components/contact.tsx +++ b/main-web/client/src/components/contact.tsx @@ -15,7 +15,7 @@ export const Contact: FunctionComponent = (props): JSX.Element = useEffect(() => { if (contactItems.length === 0) { const url = process.env.REACT_APP_API_URL; - const apiUrl = `${url}api/about`; + const apiUrl = `${url}api/contact`; axios.get(apiUrl) .then((response) => { if (response.data) {