Skip to content

Commit

Permalink
trying to fix cors
Browse files Browse the repository at this point in the history
  • Loading branch information
scffs committed Sep 13, 2023
1 parent e43b3b2 commit 10c1a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/views/LoginForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const LoginForm: FC<{ id: string }> = ({ id }) => {

setIsLoading(true);
setPopout(<ScreenSpinner state='loading' />);
const response = await fetch(`${import.meta.env.VITE_SERVER_URL}/hello`, {
const response = await fetch(`${import.meta.env.VITE_SERVER_URL}/login`, {
method: 'POST',
body: JSON.stringify({
login,
Expand Down

0 comments on commit 10c1a42

Please sign in to comment.