mirror of https://github.com/Lissy93/dashy.git
⚡ Increased overridden timeout
This commit is contained in:
parent
e2b9c15360
commit
4f04e01aec
|
@ -58,7 +58,7 @@ export default {
|
||||||
if (!this.ipAddress) {
|
if (!this.ipAddress) {
|
||||||
this.getUsersIpAddress(); return;
|
this.getUsersIpAddress(); return;
|
||||||
}
|
}
|
||||||
this.defaultTimeout = 20000;
|
this.defaultTimeout = 200000;
|
||||||
const options = { Authorization: `Basic ${this.apiKey}` };
|
const options = { Authorization: `Basic ${this.apiKey}` };
|
||||||
this.makeRequest(this.endpoint, options).then(this.processData);
|
this.makeRequest(this.endpoint, options).then(this.processData);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue