Skip to content

Commit

Permalink
fix wrong timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
mayswind committed Jul 31, 2023
1 parent d7e66e3 commit c9e7e05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ let needBlockRequest = false;
let blockedRequests = [];

axios.defaults.baseURL = api.baseApiUrlPath;
axios.defaults.timeout = 100000; // 10s
axios.defaults.timeout = 10000; // 10s
axios.interceptors.request.use(config => {
const token = userState.getToken();

Expand Down

0 comments on commit c9e7e05

Please sign in to comment.