diff --git a/src/api/axiosInstance.ts b/src/api/axiosInstance.ts index 5780d07..0a37f4a 100644 --- a/src/api/axiosInstance.ts +++ b/src/api/axiosInstance.ts @@ -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가 값이 리턴되게