requireArmaServer (src/lib/arma-bridge/server.ts) wraps the shared bridge auth + game-servers lookup that every v1 route repeated; asJson (json.ts) narrows untrusted request values to what Payload's json field validation accepts (strings normalize to the fallback instead of failing the write). All four v1 routes now use both. Also document the ARMA_BRIDGE_API_KEY env var missed when the bridge routes landed. |
||
|---|---|---|
| .. | ||
| arma/v1 | ||
| game-tick/notify | ||
| health | ||
| impersonation | ||
| realtime | ||
| version | ||