Skip to content

Commit

Permalink
changed url from localhost to nepalingo.com
Browse files Browse the repository at this point in the history
  • Loading branch information
NancyAanchal committed Aug 15, 2024
1 parent 0022665 commit 86942bc
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions nepalingo-web/src/hooks/Auth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ const AuthContext = createContext<AuthContextProps>({
signIn: (data) => supabaseClient.auth.signInWithPassword(data),
resetPasswordEmail: (email) =>
supabaseClient.auth.resetPasswordForEmail(email, {
//redirectTo: "https://www.nepalingo.com/reset-password",
redirectTo: "http://localhost:5173/reset-password",
redirectTo: "https://www.nepalingo.com/reset-password",
}),
});

Expand Down Expand Up @@ -72,8 +71,7 @@ export const AuthProvider = ({ children }: { children: React.ReactNode }) => {
signIn: (data) => supabaseClient.auth.signInWithPassword(data),
resetPasswordEmail: (email) =>
supabaseClient.auth.resetPasswordForEmail(email, {
//redirectTo: "https://www.nepalingo.com/reset-password",
redirectTo: "http://localhost:5173/reset-password",
redirectTo: "https://www.nepalingo.com/reset-password",
}),
};

Expand Down

0 comments on commit 86942bc

Please sign in to comment.