Skip to content

Commit

Permalink
fix: bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
baynt1 committed Sep 24, 2024
1 parent 72d8027 commit 56e9bd8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/shared/api/api-query/api-query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ const createAxiosInstance = async () => {
baseURL: import.meta.env.VITE_API_ADDRESS,
})

console.log(import.meta.env.VITE_API_ADDRESS)

if (token) {
axiosInstance.defaults.headers.common['Authorization'] = `Bearer ${token}`
}
Expand Down

0 comments on commit 56e9bd8

Please sign in to comment.