mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 16:19:28 +08:00
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)