Skip to content

Commit

Permalink
fix: fix axios base setting
Browse files Browse the repository at this point in the history
  • Loading branch information
ptyoiy committed Apr 17, 2024
1 parent 4500cd3 commit 3658e1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/api/axios/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ import axios from "axios";
import { getUserInfo, kakaoLogout, login } from "./user";

axios.defaults.baseURL = "/api";
axios.defaults.withCredentials = true;
export { getUserInfo, kakaoLogout, login };

0 comments on commit 3658e1c

Please sign in to comment.