Skip to content

Commit

Permalink
Merge pull request #59 from DevKor-github/fix/cookie
Browse files Browse the repository at this point in the history
fix: axios 설정
  • Loading branch information
tjrdnjs1534 authored Aug 22, 2024
2 parents 23a2bb2 + da21ba3 commit 8540516
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/client/client.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import axios from 'axios';

const client = axios.create({
baseURL: 'api',
baseURL: '/api',
headers: { 'Content-Type': 'application/json' },
withCredentials: true,
});

export default client;

0 comments on commit 8540516

Please sign in to comment.