replaced cryptofill with webcrypto-liner

This commit is contained in:
Danny Coates 2019-02-21 15:20:28 -08:00
parent 9e919eddb5
commit de88885189
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
8 changed files with 33 additions and 10907 deletions

View file

@ -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) {