# servers-api — Cloudflare Worker

Proxies Pterodactyl client API for the firefrostgaming.com website server list.

## What It Does

- Fetches all servers from Pterodactyl Panel client API
- Gets live resource stats (running/offline, player count)
- Returns JSON for the website to display
- CORS-locked to firefrostgaming.com and Pages preview URL
- 60-second cache

## Environment Variables (set in Cloudflare Dashboard)

- `PANEL_URL` — Pterodactyl Panel URL (https://panel.firefrostgaming.com)
- `CLIENT_API_KEY` — Pterodactyl client API key

## Deployment

Deployed via Cloudflare Dashboard (Wrangler not configured).
Worker name: `servers-api`
Created: April 3, 2026

## History

- Originally created directly in Cloudflare Dashboard
- Never committed to git (known gap)
- Recovered and committed by Chronicler #78 on April 11, 2026 via Cloudflare MCP connector

---

**Fire + Frost + Foundation = Where Love Builds Legacy** 💙🔥❄️
