mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-22 05:55:16 -05:00
change to Accept: */* to better support all websites
This commit is contained in:
parent
d93f6e2716
commit
f099e4270d
@ -112,6 +112,7 @@ class Monitor extends BeanModel {
|
|||||||
let res = await axios.get(this.url, {
|
let res = await axios.get(this.url, {
|
||||||
timeout: 15000,
|
timeout: 15000,
|
||||||
headers: {
|
headers: {
|
||||||
|
"Accept": "*/*",
|
||||||
"User-Agent": "Uptime-Kuma",
|
"User-Agent": "Uptime-Kuma",
|
||||||
},
|
},
|
||||||
httpsAgent: new https.Agent({
|
httpsAgent: new https.Agent({
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 30px;
|
font-size: 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
|
Loading…
Reference in New Issue
Block a user