Skip to content

Commit

Permalink
Merge pull request #21 from pieceowater-dev/dev
Browse files Browse the repository at this point in the history
fix: bugs
  • Loading branch information
baynt1 authored Sep 23, 2024
2 parents 094db2a + 017ca53 commit 4deac28
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 4deac28

Please sign in to comment.