Skip to content

Commit

Permalink
feat :: instance
Browse files Browse the repository at this point in the history
  • Loading branch information
dutexion committed May 7, 2024
1 parent 3594cc7 commit 15df29b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/utils/apis/axios.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import axios from 'axios';

export const instance = axios.create({
baseURL: import.meta.env.VITE_SERVER_BASE_URL,
timeout: 30000,
});

0 comments on commit 15df29b

Please sign in to comment.