/**
 * Health check endpoint handler
 */

import { jsonResponse } from '../utils';

/**
 * Health check endpoint
 */
export function handleHealth(corsHeaders: Record<string, string>): Response {
  return jsonResponse(
    {
      status: 'ok',
      timestamp: new Date().toISOString(),
      service: 'server-recommend',
    },
    200,
    corsHeaders
  );
}
