some modification
This commit is contained in:
1 parent
60694258f2
commit
b404ff3022
1 file changed
-1
@@ -516,7 +516,6 @@ class NetworkService {
|
|||||||
try {
|
try {
|
||||||
// Create a temporary instance that doesn't follow redirects and has a short timeout
|
// Create a temporary instance that doesn't follow redirects and has a short timeout
|
||||||
const tempInstance = axios.create({
|
const tempInstance = axios.create({
|
||||||
timeout: 5000,
|
|
||||||
maxRedirects: 0,
|
maxRedirects: 0,
|
||||||
baseURL: this.axiosInstance.defaults.baseURL,
|
baseURL: this.axiosInstance.defaults.baseURL,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user