mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 07:10:53 +00:00
9e45f4cea9
This commit adds the `doNotFollowRedirects` option to the `WebsiteRequest` and `API` classes. When set to `true`, the classes will not follow redirects when making HTTP requests. This is achieved by setting the `maxRedirects` property of the `axiosOptions` object to 0. This change allows for more control over the behavior of HTTP requests and ensures that redirects are not automatically followed. |
||
---|---|---|
.. | ||
StatusPage | ||
Uptime | ||
Analytics.ts | ||
API.ts | ||
Array.ts | ||
Boolean.ts | ||
CronTime.ts | ||
Crypto.ts | ||
Enum.ts | ||
Faker.ts | ||
Memory.ts | ||
Number.ts | ||
ObjectUtil.ts | ||
Realtime.ts | ||
Slug.ts | ||
TechStack.ts | ||
UUID.ts |