Diagnostics (Cloudflare)

  1. In Cloudflare Pages → your project → Settings → Environment variables, set:
    TRAVELPAYOUTS_TOKEN=your_api_token
    TP_MARKER=your_marker_id
  2. Redeploy the project.
  3. Test JSON: /api/hotels