mirror of
https://github.com/djdevin/recflare.git
synced 2026-09-08 06:31:27 -07:00
653 B
653 B
ns
Name-server / service-discovery worker served on the ns subdomain.
GET / returns the endpoints document the game client fetches on startup to
discover every service host (Accounts, API, Auth, Econ, Matchmaking,
Notifications, …).
The document is served from static/endpoints.json, whose hosts are generated
from the repo-root env.json by runx sync — every entry is derived from the
configured base domain.
Updating endpoints
Change domain in env.json (or edit the host map in static/endpoints.json),
then regenerate:
just sync
(Bundled at build time, so a redeploy is required for changes to take effect.)