Skip to content

2.5.2

Choose a tag to compare

@Smantella Smantella released this 23 Jul 09:12
· 1 commit to main since this release
f526121

Combat Stats v2.5.2

Fixed: crash on non-secure origins (LAN over plain HTTP)

Replaced all uses of crypto.randomUUID() with foundry.utils.randomID(). The former only works in a "secure context" (HTTPS or localhost) — on a LAN served over plain HTTP (reverse proxy that only terminates SSL for external traffic, Docker container, clients like Forge Local Client), it threw TypeError: crypto.randomUUID is not a function, which blocked saving the fight and recording defeated enemies entirely. foundry.utils.randomID() does the same job without this limitation.