mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-01 19:32:34 +02:00
Fix: Add axios timeout
This commit is contained in:
parent
7df13b440a
commit
274314c5e5
1 changed files with 1 additions and 0 deletions
|
@ -95,6 +95,7 @@ class Monitor extends BeanModel {
|
||||||
"User-Agent": "Uptime-Kuma",
|
"User-Agent": "Uptime-Kuma",
|
||||||
host: targetUrl.hostname,
|
host: targetUrl.hostname,
|
||||||
},
|
},
|
||||||
|
timeout: 3000,
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue