mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-08 22:40:09 +08:00
change to Accept: */* to better support all websites
This commit is contained in:
@@ -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({
|
||||
|
Reference in New Issue
Block a user