diff options
| author | Adam Malczewski <[email protected]> | 2026-06-07 00:54:08 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-06-07 00:54:08 +0900 |
| commit | 7889918d23ffa428cf266e52d42b9683f16160fa (patch) | |
| tree | 7f403136663562dd278b6c680449ec29af612d06 /GLOSSARY.md | |
| parent | 8015ed30a9904a89efe083067f505eb11fa46034 (diff) | |
| download | dispatch-web-7889918d23ffa428cf266e52d42b9683f16160fa.tar.gz dispatch-web-7889918d23ffa428cf266e52d42b9683f16160fa.zip | |
fix: blank page on non-localhost HTTP (secure-context crypto.randomUUID)
crypto.randomUUID() is secure-context-only — undefined on plain-HTTP
non-localhost origins (e.g. http://arch-razer:24204), so createAppStore threw
during mount and nothing rendered. Add src/app/uuid.ts randomId(): prefer
crypto.randomUUID when present, else build a v4 from crypto.getRandomValues
(available in insecure contexts), else Math.random fallback. Use it for the
conversation id.
Verified: svelte-check 0/0, vitest 221, build ok.
Diffstat (limited to 'GLOSSARY.md')
0 files changed, 0 insertions, 0 deletions
