Skip to content

Commit

Permalink
Merge pull request #17 from 2024-PandaDong/feature/#13
Browse files Browse the repository at this point in the history
[Fix] request
  • Loading branch information
kyumin7487 authored Jun 23, 2024
2 parents e6a42d6 + 8726d2b commit 1ae246f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/libs/axios/requestHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ const requestHandler = (config: AxiosRequestConfig): AxiosRequestConfig => {
// 요청의 헤더에 기본 헤더와 함께 추가 헤더를 설정한다.
config.headers = {
...config.headers,
"Content-Type": "application/json", // 콘텐츠 타입을 JSON으로 설정한다.
[REQUEST_TOKEN_KEY] : `Bearer ${token.getToken(ACCESS_TOKEN_KEY)}`, // 요청 토큰을 설정한다.
};
// 수정된 설정을 반환한다.
Expand Down

0 comments on commit 1ae246f

Please sign in to comment.