Skip to content

Commit

Permalink
fix: bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
baynt1 committed Sep 23, 2024
1 parent 094db2a commit 017ca53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/api/api-query/api-query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const createAxiosInstance = async () => {
const axiosInstance = axios.create({
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 017ca53

Please sign in to comment.