diff --git a/app/routes/healthcheck.tsx b/app/routes/healthcheck.tsx index 6c520cea..edd4fcfd 100644 --- a/app/routes/healthcheck.tsx +++ b/app/routes/healthcheck.tsx @@ -13,7 +13,10 @@ export const loader = async ({ request }: LoaderArgs) => { // and make a HEAD request to ourselves, then we're good. await Promise.all([ prisma.user.count(), - fetch(url.toString(), { method: "HEAD" }).then((r) => { + fetch(url.toString(), { + method: "HEAD", + headers: { connection: "keep-alive" }, + }).then((r) => { if (!r.ok) return Promise.reject(r); }), ]);