Email login form

pull/3813/head
Kamran Ahmed 2 years ago
parent 768e7ab67d
commit 0389cd8f51
  1. 2
      src/components/AuthenticationFlow/EmailLoginForm.tsx

@ -16,7 +16,7 @@ const EmailLoginForm: FunctionComponent<{}> = () => {
setIsLoading(true); setIsLoading(true);
setError(''); setError('');
const res = await fetch('http://localhost:8080/v1-login', { const res = await fetch(`${import.meta.env.PUBLIC_API_URL}/v1-login`, {
method: 'POST', method: 'POST',
headers: { headers: {
'Content-Type': 'application/json', 'Content-Type': 'application/json',

Loading…
Cancel
Save