1
0
Fork 0
polaris-task-force/src/app/api
Z8MB1E 9b909e85e6 refactor(arma-bridge): extract shared server guard and json coercion
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.
2026-08-25 12:30:50 -04:00
..
arma/v1 refactor(arma-bridge): extract shared server guard and json coercion 2026-08-25 12:30:50 -04:00
game-tick/notify feat(realtime): add game-tick SSE notification pipeline 2026-08-02 02:03:56 -04:00
health feat(deploy): add /api/health endpoint for container liveness probes 2026-08-12 23:11:16 -04:00
impersonation feat(impersonation): implement user impersonation functionality and UI 2026-08-21 01:41:14 -04:00
realtime fix(auth): reject MCP API-key sessions in user auth paths 2026-08-25 12:27:35 -04:00
version style(app): format app routes, pages, and server actions 2026-08-16 23:27:51 -04:00