1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-26 02:42:17 -05:00

Correct worker paths

This commit is contained in:
Tankred Hase 2014-10-08 18:43:41 +02:00 committed by Felix Hammerl
parent 0bfef4a710
commit fc613ce501
2 changed files with 2 additions and 2 deletions

View File

@ -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() {};

View File

@ -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');
};
/**