Lab
LAB · live
Edge echo
Calls a Cloudflare Pages Function and shows which environment and data centre answered. It exists to prove the lab pattern; real tools come next.
How it works
The button sends a GET request to /api/lab/edge-echo. A Pages Function in the nearest Cloudflare data centre answers with JSON: the environment it runs in (production or test, from a dashboard variable), the data centre code, the time, and a per-environment message. It keeps nothing: no visitor IP, no logs, no storage. Without JavaScript, the form opens the raw JSON instead.
Source on GitHub: [TODO: set site.repo in src/config/site.ts]