Fix error when there is no network connection

This commit is contained in:
Marco Realacci 2022-12-15 14:22:28 +01:00
parent 8613a5780f
commit 92522876b7
4 changed files with 40 additions and 34 deletions

View file

@ -3,7 +3,7 @@ import getCurrentSession from "./authentication";
const instance = axios.create({
baseURL: __API_URL__,
timeout: 1000 * 20
timeout: 1000 * 60
});
//axios.interceptors.request.use(function (config) {