mempool-startos/scripts/procedures/healthChecks.ts
2025-04-14 14:12:47 +02:00

8 lines
306 B
TypeScript

import { types as T, checkWebUrl, catchError } from "../deps.ts";
export const health: T.ExpectedExports.health = {
// deno-lint-ignore require-await
async "web-ui"(effects, duration) {
return checkWebUrl("http://mempooldotguide.embassy:8080")(effects, duration).catch(catchError(effects))
},
};