This commit is contained in:
koalasat
2025-05-21 15:10:20 +02:00
parent c19ce15d9d
commit 44e88bb891

View File

@ -36,7 +36,7 @@ const getWebCrypto = () => {
};
// Override the global crypto object
if (typeof window !== 'undefined' && !window.crypto.getWebCrypto) {
if (typeof window !== 'undefined' && !window.crypto.subtle) {
window.crypto = {
getRandomValues: (arr) => {
for (let i = 0; i < arr.length; i++) {