Open pastleo opened 2 years ago
as title, use (typeof window !== 'undefined') to detect if window available, if not, use self.crypto instead
(typeof window !== 'undefined')
self.crypto
as title, use
(typeof window !== 'undefined')
to detect if window available, if not, useself.crypto
instead