|
|
@@ -11,6 +11,7 @@ export const host = hostUrl;
|
|
|
const DEBUG = app.debug && !app.product;
|
|
|
|
|
|
Axios.defaults.timeout = 30000;
|
|
|
+Axios.defaults.timeoutErrorMessage = "Connection timeout, please check your network.";
|
|
|
Axios.interceptors.response.use((response) => {
|
|
|
if (DEBUG) {
|
|
|
console.log('-------', response.config.method, response.config.url);
|