About This Site
This is a static testbed for the embedded comments product. It exists to exercise the embed script across different page types — blog posts, docs, changelogs, and informational pages — so that integration behaviour can be verified before shipping to real customers.
How It Works
Every page on this site includes the same embed snippet at the bottom of the
body. The data-site attribute identifies the site, and
data-api-base points at the API worker (localhost for local dev,
or your staging/production URL once deployed).
Deploying
Push the testbed/ folder to a Netlify site. There is no build
step — just static HTML and CSS. The netlify.toml config sets
the publish directory to . and redirects unknown paths to
404.html.
Customising
To point the embed at a real environment:
- Replace
SITE_PUBLIC_KEYwith the key from the admin dashboard. - Update
data-api-baseto your production API URL (or remove it entirely to use the default CDN origin). - Commit and push — Netlify will redeploy automatically.
Comments