Skip to content

Commit

Permalink
follow redirect by default
Browse files Browse the repository at this point in the history
  • Loading branch information
kwypchlo committed Oct 5, 2022
1 parent 9726745 commit 1969088
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/checks/extended.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ async function executeExtendedCheck(name, expected, config = {}) {
try {
const query = `https://${process.env.PORTAL_DOMAIN}/${expected.skylink}`;
const response = await got[config.method ?? "get"](query, {
followRedirect: config.followRedirect ?? false,
followRedirect: config.followRedirect ?? true,
headers: { "Skynet-Api-Key": process.env.ACCOUNTS_TEST_USER_API_KEY },
});

Expand Down

0 comments on commit 1969088

Please sign in to comment.