mirror of
https://github.com/notherealmarco/WASAPhoto.git
synced 2025-05-06 20:59:36 +02:00
Fix error when there is no network connection
This commit is contained in:
parent
8613a5780f
commit
92522876b7
4 changed files with 40 additions and 34 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue