mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 16:54:04 +00:00
Try to fix incorrect header check
This commit is contained in:
parent
4862bec965
commit
1da00d19fd
1 changed files with 1 additions and 1 deletions
|
@ -16,6 +16,7 @@ const { CacheableDnsHttpAgent } = require("../cacheable-dns-http-agent");
|
|||
const { DockerHost } = require("../docker");
|
||||
const Maintenance = require("./maintenance");
|
||||
const { UptimeCacheList } = require("../uptime-cache-list");
|
||||
const zlib = require("zlib");
|
||||
|
||||
/**
|
||||
* status:
|
||||
|
@ -283,7 +284,6 @@ class Monitor extends BeanModel {
|
|||
...(this.headers ? JSON.parse(this.headers) : {}),
|
||||
...(basicAuthHeader),
|
||||
},
|
||||
decompress: true,
|
||||
maxRedirects: this.maxredirects,
|
||||
validateStatus: (status) => {
|
||||
return checkStatusCode(status, this.getAcceptedStatuscodes());
|
||||
|
|
Loading…
Reference in a new issue