This commit is contained in:
Florian Dold 2020-04-30 18:00:19 +05:30
parent 5be0708a10
commit 9798bf51a9
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -104,7 +104,7 @@ export interface CryptoWorkerFactory {
export class BrowserCryptoWorkerFactory implements CryptoWorkerFactory { export class BrowserCryptoWorkerFactory implements CryptoWorkerFactory {
startWorker(): CryptoWorker { startWorker(): CryptoWorker {
const workerCtor = Worker; const workerCtor = Worker;
const workerPath = "/dist/webextension/browserWorkerEntry.js"; const workerPath = "/browserWorkerEntry.js";
return new workerCtor(workerPath) as CryptoWorker; return new workerCtor(workerPath) as CryptoWorker;
} }