diff --git a/src/components/AuthenticationFlow/EmailLoginForm.tsx b/src/components/AuthenticationFlow/EmailLoginForm.tsx index 9f4a7e133..c2c9f1525 100644 --- a/src/components/AuthenticationFlow/EmailLoginForm.tsx +++ b/src/components/AuthenticationFlow/EmailLoginForm.tsx @@ -16,7 +16,7 @@ const EmailLoginForm: FunctionComponent<{}> = () => { setIsLoading(true); setError(''); - const res = await fetch('http://localhost:8080/v1-login', { + const res = await fetch(`${import.meta.env.PUBLIC_API_URL}/v1-login`, { method: 'POST', headers: { 'Content-Type': 'application/json',