diff --git a/src/api/user.ts b/src/api/user.ts index f1f2fa77c..d77536f78 100644 --- a/src/api/user.ts +++ b/src/api/user.ts @@ -5,7 +5,7 @@ export const getMe = async () => { } export const postEmailLogin = async (email: string, password: string) => { - const response = await fetch(getBackendUrl() + "/login", { + const response = await fetch(getBackendUrl() + "/auth/email", { method: 'POST', mode: 'cors', cache: 'no-cache',