diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 27f082b..88059e7 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -29,7 +29,7 @@ function InnerApp() { }/> }/> - }/> + }/> }/> diff --git a/frontend/src/hooks/useFetchMeets.js b/frontend/src/hooks/useFetchMeets.js index b4d1094..e7da09e 100644 --- a/frontend/src/hooks/useFetchMeets.js +++ b/frontend/src/hooks/useFetchMeets.js @@ -5,6 +5,7 @@ function useFetchMeets(isUser, hasSession) { const [meets, setMeets] = useState([]); const [error, setError] = useState(null); const domain = import.meta.env.VITE_API_URL + console.log(domain) const base64Credentials = getBase64CredentialsFromSession() useEffect(() => { diff --git a/frontend/vite.config.js b/frontend/vite.config.js index ac1005b..b49323f 100644 --- a/frontend/vite.config.js +++ b/frontend/vite.config.js @@ -9,5 +9,8 @@ export default defineConfig({ proxy: { '/api': 'http://localhost:5000', }, + }, + define: { + 'process.env': process.env } })