Configure environment
Set ONEHUB_API_URL and ONEHUB_SITE in local, preview and production environments.
The developer surface focuses on server-to-server usage, auth, contact capture, subscribers, events and platform health without exposing private credentials in the browser.
await fetch('/api/contact', {
method: 'POST',
headers: { 'content-type': 'application/json' },
body: JSON.stringify({ name, email, message })
});This panel exercises the backend contract safely through the website API layer and exposes loading, empty, degraded, unauthorized and rate-limit states.
Set ONEHUB_API_URL and ONEHUB_SITE in local, preview and production environments.
Call the website API layer for auth, contact and subscriber flows so the server attaches context headers.
Preserve request IDs, rate-limit headers and validation messages for support diagnostics.
OpenNext builds the Next.js app into a Cloudflare Worker with web-standard fetch code.
The public site shows how Essia maps to OneHub without exposing privileged credentials. Auth, contact and subscription flows go through server route handlers.