mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-05-17 00:16:32 +03:00
fix: NTLM monitor over plain HTTP fails with 400 Bad Request (#7351)
Co-authored-by: Petr Dvořák <petr.dvorak@pro-doma.cz>
This commit is contained in:
@@ -1189,6 +1189,7 @@ class Monitor extends BeanModel {
|
|||||||
let res;
|
let res;
|
||||||
if (this.auth_method === "ntlm") {
|
if (this.auth_method === "ntlm") {
|
||||||
options.httpsAgent.keepAlive = true;
|
options.httpsAgent.keepAlive = true;
|
||||||
|
options.httpAgent.keepAlive = true;
|
||||||
|
|
||||||
res = await httpNtlm(options, {
|
res = await httpNtlm(options, {
|
||||||
username: this.basic_auth_user,
|
username: this.basic_auth_user,
|
||||||
|
|||||||
Reference in New Issue
Block a user