0
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2024-11-22 11:47:30 +01:00

change to Accept: */* to better support all websites

This commit is contained in:
LouisLam 2021-08-10 20:23:15 +08:00
parent d93f6e2716
commit f099e4270d
2 changed files with 2 additions and 1 deletions

View File

@ -112,6 +112,7 @@ class Monitor extends BeanModel {
let res = await axios.get(this.url, {
timeout: 15000,
headers: {
"Accept": "*/*",
"User-Agent": "Uptime-Kuma",
},
httpsAgent: new https.Agent({

View File

@ -6,7 +6,7 @@
}
h1 {
font-size: 30px;
font-size: 32px;
}
h2 {