replaced cryptofill with webcrypto-liner
This commit is contained in:
parent
9e919eddb5
commit
de88885189
8 changed files with 33 additions and 10907 deletions
|
@ -28,7 +28,10 @@ if (process.env.NODE_ENV === 'production') {
|
|||
|
||||
(async function start() {
|
||||
const capabilities = await getCapabilities();
|
||||
if (!capabilities.crypto) {
|
||||
if (
|
||||
!capabilities.crypto &&
|
||||
window.location.pathname !== '/unsupported/crypto'
|
||||
) {
|
||||
return window.location.assign('/unsupported/crypto');
|
||||
}
|
||||
if (capabilities.serviceWorker) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue