Skip to content

Commit

Permalink
Email login form
Browse files Browse the repository at this point in the history
  • Loading branch information
kamranahmedse committed Apr 9, 2023
1 parent 768e7ab commit 0389cd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/AuthenticationFlow/EmailLoginForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 0389cd8

Please sign in to comment.