Greater-London-Authority / ldn-viz-tools

https://greater-london-authority.github.io/ldn-viz-tools/
1 stars 0 forks source link

don't use the crypto API to generate random ids #375

Open jamesscottbrown opened 5 days ago

jamesscottbrown commented 5 days ago

Currently, ids are randomly generated using the crypto.randomUUID() function.

However, the Crypto web api is only available in a secure context, which results in errors when serving apps over HTTP during local development/testing.