aboutsummaryrefslogtreecommitdiffstats
path: root/src/offscreen
diff options
context:
space:
mode:
Diffstat (limited to 'src/offscreen')
-rw-r--r--src/offscreen/ocr/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/offscreen/ocr/index.js b/src/offscreen/ocr/index.js
index b935024..432811e 100644
--- a/src/offscreen/ocr/index.js
+++ b/src/offscreen/ocr/index.js
@@ -1,8 +1,8 @@
import Tesseract from "./tesseract.esm.min.js";
let ocrWorker = null;
-const WORKER_PATH = chrome.runtime.getURL("/offscreen/ocr/static/worker.min.js");
-const CORE_PATH = chrome.runtime.getURL("/offscreen/ocr/static");
+const WORKER_PATH = chrome.runtime.getURL("offscreen/ocr/static/worker.min.js");
+const CORE_PATH = chrome.runtime.getURL("offscreen/ocr/static");
async function performOcrInOffscreen(dataURL) {
if (!ocrWorker) {