Files
wownerogue/test
jwinterm f8a7dcea71 refactor: extract verify view + admin routes from index.js god-file
Begin splitting the 2029-line index.js. No behaviour change.

- src/views/verifyPage.js: the inline provably-fair verification HTML page,
  now with the interpolated values HTML-escaped (defense in depth).
- src/routes/admin.js: all 15 /api/admin/* endpoints + adminAuth, as a
  dependency-injected factory createAdminRoutes(ctx). Handler bodies are
  byte-for-byte identical; alertService is late-bound via the shared ctx
  object (set when the payment system starts).

index.js: 2029 -> 1047 lines. Adds adminRoutes.test.js asserting all 15
routes register. Full suite: 21 suites / 154 tests.
2026-05-31 14:20:09 -04:00
..
2025-05-26 13:45:46 -04:00
2025-05-26 13:45:46 -04:00
2025-05-26 13:45:46 -04:00
2025-05-25 19:03:29 -04:00
2025-05-25 19:03:29 -04:00
2025-05-25 19:03:29 -04:00
2025-05-25 19:03:29 -04:00
2025-05-26 13:45:46 -04:00
2025-05-25 19:03:29 -04:00
2025-05-25 19:03:29 -04:00