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 b70d953 commit e615810
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"build:main": "vite build --mode production",
"build:dev": "vite build --mode development",
"lint": "eslint react-template --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": ".env | grep 'ALGA' && vite preview"
"preview": "vite preview"
},
"dependencies": {
"@ant-design/icons": "^5.4.0",
Expand Down
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 e615810

Please sign in to comment.