Skip to content

Commit 2198afc

Browse files
authored
Remove timeout setting in axios instance
Commented out the timeout setting for deployment.
1 parent 4e9fa35 commit 2198afc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

client/src/utils/axiosInstance.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import axios from "axios";
33

44
const axiosInstance = axios.create({
55
baseURL: serverUrl,
6-
timeout:3000,
6+
//timeout:3000, //remove timeout for deployment
77
headers: {
88
"Content-Type": "application/json",
99
}
@@ -34,4 +34,4 @@ axiosInstance.interceptors.response.use(
3434
}
3535
)
3636

37-
export default axiosInstance;
37+
export default axiosInstance;

0 commit comments

Comments
 (0)