mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +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. |
||
---|---|---|
.. | ||
Jobs | ||
Services | ||
Tests/Utils | ||
Utils | ||
.gitattributes | ||
.gitignore | ||
Config.ts | ||
Dockerfile.tpl | ||
Index.ts | ||
jest.config.json | ||
nodemon.json | ||
package-lock.json | ||
package.json | ||
tsconfig.json |