Skip to content

Commit

Permalink
Update instance.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
tubarao312 committed Mar 6, 2024
1 parent 4b2df21 commit 1b104e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/instance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Axios, { AxiosRequestConfig } from "axios";

export const AXIOS_INSTANCE = Axios.create({
baseURL: process.env.VITE_WARD_API_BASE_URL,
timeout: 5000, // 5 second timeout
timeout: 30000, // 30 second timeout
});

AXIOS_INSTANCE.interceptors.request.use((config) => {
Expand Down

0 comments on commit 1b104e3

Please sign in to comment.