Skip to content

Commit

Permalink
Fix : Client BaseURL 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
jobkaeHenry committed Nov 26, 2023
1 parent 694cb0f commit 9bfa71d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions client/src/hooks/useLogin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,11 @@ export default function useLogin() {
const loginHandler = async (props: SigninRequirement) => {
const { id, password } = props;
const { data } = await axios.post<SigninResponseInterface>(
LOGIN_BFF,
`${process.env.NEXT_PUBLIC_CLIENT_BASE_URL}${LOGIN_BFF}`,
{
id,
password,
},
{ baseURL: process.env.NEXT_PUBLIC_CLIENT_BASE_URL }
}
);
return data;
};
Expand Down

0 comments on commit 9bfa71d

Please sign in to comment.