Asep Haryana SaputraandClaude Opus 4.7 c623de9959 fix: harden production auth and review flow
- Add environment-aware CORS and secure cookie support:
  * Add secureCookies config to env.ts based on SECURE_COOKIES env var or https detection
  * Integrate @elysiajs/cors with credentials and origin configuration
  * Update cookie helpers to use SameSite=None; Secure in production
- Wrap expert review update and insert in database transaction for atomicity:
  * Ensures diagnosis status update and review insert succeed together
  * Rolls back both operations if either fails
  * Preserves behavior: only update if status is needs_review, return badRequest if no row updated

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-22 17:32:57 +00:00
2026-05-22 14:23:45 +08:00
2026-05-22 14:23:45 +08:00
2026-05-22 13:06:43 +00:00
S
Description
ZeaVis-Edu mirror
55 MiB
Languages
Jupyter Notebook 85.8%
TypeScript 10.4%
Python 1.6%
Rust 1.4%
Makefile 0.2%
Other 0.2%