Skip to content

Commit

Permalink
Update axios.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyasbelfar authored Mar 10, 2023
1 parent de8bc94 commit 2a561fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/utils/axios.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const instance = axios.create({
instance.interceptors.request.use(
(config) => {
if (config.delayed) {
return new Promise((resolve) => setTimeout(() => resolve(config), 3000));
return new Promise((resolve) => setTimeout(() => resolve(config), 1000));
}
return config;
},
Expand Down

0 comments on commit 2a561fd

Please sign in to comment.