mirror of
https://github.com/bitwarden/jslib
synced 2025-12-22 11:13:17 +00:00
replace electron store with lowdb
This commit is contained in:
@@ -353,7 +353,7 @@ export class CipherService implements CipherServiceAbstraction {
|
||||
const blob = new Blob([encData], { type: 'application/octet-stream' });
|
||||
fd.append('data', blob, encFileName.encryptedString);
|
||||
} catch (e) {
|
||||
if (Utils.isNode) {
|
||||
if (Utils.isNode && !Utils.isBrowser) {
|
||||
fd.append('data', new Buffer(encData) as any, {
|
||||
filepath: encFileName.encryptedString,
|
||||
contentType: 'application/octet-stream',
|
||||
|
||||
Reference in New Issue
Block a user