mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 14:49:07 +00:00
turn do not redirect to false
This commit is contained in:
parent
a39db4ffc9
commit
d89ee302fd
@ -66,7 +66,7 @@ export default class ApiMonitor {
|
||||
undefined,
|
||||
{
|
||||
timeout: options.timeout?.toNumber() || 5000,
|
||||
doNotFollowRedirects: true,
|
||||
doNotFollowRedirects: false,
|
||||
},
|
||||
);
|
||||
|
||||
@ -84,7 +84,7 @@ export default class ApiMonitor {
|
||||
undefined,
|
||||
{
|
||||
timeout: options.timeout?.toNumber() || 5000,
|
||||
doNotFollowRedirects: true,
|
||||
doNotFollowRedirects: false,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
@ -61,7 +61,7 @@ export default class WebsiteMonitor {
|
||||
let result: WebsiteResponse = await WebsiteRequest.fetch(url, {
|
||||
isHeadRequest: options.isHeadRequest,
|
||||
timeout: options.timeout?.toNumber() || 5000,
|
||||
doNotFollowRedirects: true,
|
||||
doNotFollowRedirects: false,
|
||||
});
|
||||
|
||||
if (
|
||||
@ -73,7 +73,7 @@ export default class WebsiteMonitor {
|
||||
result = await WebsiteRequest.fetch(url, {
|
||||
isHeadRequest: false,
|
||||
timeout: options.timeout?.toNumber() || 5000,
|
||||
doNotFollowRedirects: true,
|
||||
doNotFollowRedirects: false,
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user