mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-06 14:10:53 +03:00
replaced cryptofill with webcrypto-liner
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user