import { createFileRoute } from "@tanstack/react-router";
import { logger } from "../../proxy/logger";

// Trigger logger auto-initialization when this module loads
logger.debug("Health endpoint loaded");

export const Route = createFileRoute("/api/health")({
  server: {
    handlers: {
      GET: () => {
        return Response.json({ status: "ok" });
      },
    },
  },
});
