mirror of
https://github.com/moparisthebest/mail
synced 2024-11-26 02:42:17 -05:00
Correct worker paths
This commit is contained in:
parent
0bfef4a710
commit
fc613ce501
@ -10,7 +10,7 @@ var aes = require('crypto-lib').aes,
|
||||
config = require('../app-config').config,
|
||||
axe = require('axe-logger');
|
||||
|
||||
var PBKDF2_WORKER = '/crypto/pbkdf2-worker.js';
|
||||
var PBKDF2_WORKER = config.workerPath + '/pbkdf2-worker.js';
|
||||
|
||||
var Crypto = function() {};
|
||||
|
||||
|
@ -9,7 +9,7 @@ var util = openpgp.util,
|
||||
|
||||
var PGP = function() {
|
||||
openpgp.config.prefer_hash_algorithm = openpgp.enums.hash.sha256;
|
||||
openpgp.initWorker(config.workerPath + '/../lib/openpgp/openpgp.worker.js');
|
||||
openpgp.initWorker(config.workerPath + '/openpgp.worker.js');
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user