Skip to content

Commit

Permalink
Update axios.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
logonoff authored Nov 7, 2024
1 parent 0ec280a commit 510d507
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/axios.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ declare module 'axios' {
* Axios instance
*/
export const instance = axios.create({
baseURL: import.meta.env.NODE_ENV === 'production' ? '/api' : `${import.meta.env.REACT_APP_API_URL}/` ?? '/api',
baseURL: '/api',
});

let loading = 0;
Expand Down

0 comments on commit 510d507

Please sign in to comment.