mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 12:41:09 +02:00
crypto.randomUUID() requires HTTPS (secure context). Staging uses HTTP, so add fallback using crypto.getRandomValues() which works in insecure contexts. Fallback chain: 1. crypto.randomUUID() - native, requires HTTPS 2. crypto.getRandomValues() - works on HTTP 3. Math.random() - last resort fallback 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| device.ts | ||
| network.ts | ||
| storage.ts | ||