mirror of
https://gitlab.com/aviortheking/code-stats-vscode.git
synced 2025-06-07 07:59:53 +00:00
Wait longer for API response than 1 second
This is flattering but my server isn't always that fast :)
This commit is contained in:
parent
2bff22d53f
commit
f2aedac7fb
@ -17,7 +17,7 @@ export class CodeStatsAPI {
|
|||||||
|
|
||||||
this.axios = axios.default.create({
|
this.axios = axios.default.create({
|
||||||
baseURL: this.UPDATE_URL,
|
baseURL: this.UPDATE_URL,
|
||||||
timeout: 1000,
|
timeout: 10000,
|
||||||
headers: {
|
headers: {
|
||||||
"X-API-Token": this.API_KEY,
|
"X-API-Token": this.API_KEY,
|
||||||
"Content-Type": "application/json"
|
"Content-Type": "application/json"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user