import type { RuntimeMode } from "../../shared/api";

import { createHealthResponse, jsonResponse } from "../helpers";

export function handleHealth(mode: RuntimeMode): Response {
  return jsonResponse(createHealthResponse(), { mode });
}
