Skip to content

Commit

Permalink
Fix : 빌드 에러 해결 중 #5
Browse files Browse the repository at this point in the history
  • Loading branch information
youdame committed May 9, 2024
1 parent 12000cc commit f601508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/axiosInstance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import axios from "axios";

export const instance = axios.create({
baseURL: process.env.NEXT_PUBLIC_API_URL,
headers: { "Content-Type": "application/json", authorization: `Bearer ${process.env.ACCESS_TOKEN}` },
headers: { "Content-Type": "application/json", authorization: `Bearer ${process.env.NEXT_ACCESS_TOKEN}` },
});

// 항상 패칭 요청을 보내면 response.data가 값이 리턴되게
Expand Down

0 comments on commit f601508

Please sign in to comment.