fix(stats): restrict local requests and serve the dashboard over HTTP (#263)

This commit is contained in:
sudacode authored and GitHub committed 2026-09-20 23:36:55 -07:00
1 parent 2f21582666
commit ab48a5678e
16 files changed
+221 -157

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
type: changed
breaking: true
area: stats
- Reject requests from untrusted browser origins and hosts before stats data, media, or Anki operations run, and require JSON for mutation bodies.
- Load the in-app stats overlay from the local server so it uses the same origin protection as the browser dashboard.