static require cryptofill for Edge
This commit is contained in:
parent
6fd3019aba
commit
c146c584f6
2 changed files with 1 additions and 3 deletions
|
@ -46,7 +46,7 @@ async function checkCrypto() {
|
|||
return true;
|
||||
} catch (err) {
|
||||
try {
|
||||
await import('./cryptofill');
|
||||
require('./cryptofill');
|
||||
return true;
|
||||
} catch (e) {
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue