Skip to content

Open-source status page, incident response and uptime monitoring

fix follow redirect bug (#1568)

Thibault Le Ouay80dc85a86b1f
diff --git a/apps/workflows/src/cron/checker.ts b/apps/workflows/src/cron/checker.ts
index bb9577c0c..8772bccfd 100644
--- a/apps/workflows/src/cron/checker.ts
+++ b/apps/workflows/src/cron/checker.ts
@@ -219,7 +219,8 @@ const createCronTask = async ({
}
: undefined,
retry: row.retry || 3,
- followRedirects: row.followRedirects || true,
+ followRedirects:
+ row.followRedirects === null ? true : row.followRedirects,
};
}
if (row.jobType === "tcp") {