Skip to content

Commit

Permalink
refactor: VITE_API_URL로 복귀
Browse files Browse the repository at this point in the history
  • Loading branch information
dev2820 committed Nov 28, 2023
1 parent 515d59d commit 944f55a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontend/src/utils/api/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import axios from 'axios';

console.log(333, window.__API_URL__);
console.log(333, import.meta.env.VITE_API_URL);

const api = axios.create({
baseURL: window.__API_URL__,
baseURL: import.meta.env.VITE_API_URL,
});

export default api;

0 comments on commit 944f55a

Please sign in to comment.