Advent22 axios timeout

This commit is contained in:
Jörn-Michael Miehe 2023-09-07 15:13:10 +00:00
parent 1866833d3d
commit 79fc7dc89d

View file

@ -6,7 +6,9 @@ export class Advent22 {
private api_auth = { username: "", password: "" };
public constructor() {
this.axios = axios.create();
this.axios = axios.create({
timeout: 10000,
});
}
private get api_baseurl(): string {