Server forwarding
Next Route Handlers forward requests to OneHub and keep site context off the visible UI layer.
Platform architecture
Gulia is wired to the OneHub API through server-side route handlers, keeping backend context and future credentials out of client bundles.
Next Route Handlers forward requests to OneHub and keep site context off the visible UI layer.
Runtime configuration can be read from OneHub when public values are available.
Request IDs and rate-limit state are preserved in responses so support has a trail when something fails.
Dynamic modules show loading, empty, rate-limited, or error states instead of inventing backend content.
The deterministic default sends the root path to English while Chinese remains directly linkable.
Account consent links resolve to real Terms, Privacy, and Acceptable Use pages in both languages.
Operations
Requests send the configured site context header when ONEHUB_SITE is present in the environment.
Page views are posted to the event endpoint with locale and surface metadata.
Newsletter submissions include game and tournament tags for later segmentation.
Inquiry submissions preserve the browser URL so operators know which page created the lead.
The implementation does not expose admin tokens, API keys, or session secrets in NEXT_PUBLIC variables.
Runtime code relies on Web APIs and avoids filesystem access in application routes.
Email and phone switching is controlled entirely by client state, independent of hostname.