mirror of
https://gitlab.com/aviortheking/code-stats-vscode.git
synced 2025-04-22 10:52:13 +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({
|
||||
baseURL: this.UPDATE_URL,
|
||||
timeout: 1000,
|
||||
timeout: 10000,
|
||||
headers: {
|
||||
"X-API-Token": this.API_KEY,
|
||||
"Content-Type": "application/json"
|
||||
|
Loading…
x
Reference in New Issue
Block a user