Files
DeepTutor/web/components/reading
larryluozhang c764de69ed fix(learning): mint quiz submission ids via randomUuid on plain HTTP
Two quiz submit paths still called crypto.randomUUID() directly, which
exists only in secure contexts. Over plain HTTP (LAN box, VPS without
TLS) the call throws inside the click handler before the request is
staged — the save silently never happens. PracticeSession already mints
ids via lib/random-uuid for exactly this reason; switch the two
remaining call sites to the same helper:

- BooksRoute recordQuizAttempt (book page quiz blocks)
- ReadingExtensionBar submitReadingQuizAnswers (reading quiz answers)
2026-09-29 23:27:49 +08:00
..
2026-09-24 09:59:56 +08:00
2026-08-20 14:15:53 +08:00
2026-09-24 09:59:56 +08:00