Skip to content

Commit

Permalink
fix: implement cors
Browse files Browse the repository at this point in the history
  • Loading branch information
izzuzantyaf committed Dec 31, 2024
1 parent cc2e65f commit 2c99880
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/auth/hooks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export function useLogin() {
mutationFn: (data: LoginDto) =>
axios.post<LoginResponse>("/auth/admin/login", data, {
baseURL: process.env.NEXT_PUBLIC_FISDASWEB_API_URL,
withCredentials: true,
}),
});

Expand Down

0 comments on commit 2c99880

Please sign in to comment.