Skip to content

Commit

Permalink
chore: axios header credential 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
Hellol77 committed Feb 5, 2024
1 parent 5da72d2 commit c441186
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/apis/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export const axiosApi = (url: string | undefined) =>
withCredentials: true,
headers: {
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Credentials": "true",
},
});

Expand Down

0 comments on commit c441186

Please sign in to comment.