fix path
This commit is contained in:
parent
5be0708a10
commit
9798bf51a9
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user