Skip to content

Commit

Permalink
feature-057: API 연결 설정 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
whistleJs committed Feb 15, 2024
1 parent bafb379 commit a432f04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/apis/config/instance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ const baseURL =
const axiosInstance = axios.create({ baseURL });

axiosInstance.interceptors.request.use((config) => {
config.withCredentials = true;
config.headers['Access-Control-Allow-Origin'] = '*';
// config.withCredentials = true;
// config.headers['Access-Control-Allow-Origin'] = '*';

if (localStorage.vino) {
const storage = JSON.parse(localStorage.vino);
Expand Down

0 comments on commit a432f04

Please sign in to comment.