From 4a7e4f3b93e46caa81e7507e659631551d8e7dd8 Mon Sep 17 00:00:00 2001 From: lfoppiano Date: Thu, 17 Oct 2019 18:27:56 +0900 Subject: [PATCH] fixing pdfviewer demo --- .java-version | 1 - .../src/main/resources/web/resources/pdf.js/web/viewer.html | 2 +- .../src/main/resources/web/resources/pdf.js/web/viewer.js | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 .java-version diff --git a/.java-version b/.java-version deleted file mode 100644 index f2052c3e9a..0000000000 --- a/.java-version +++ /dev/null @@ -1 +0,0 @@ -openjdk64-11.0.2 diff --git a/grobid-service/src/main/resources/web/resources/pdf.js/web/viewer.html b/grobid-service/src/main/resources/web/resources/pdf.js/web/viewer.html index 8fc2462969..f7fb61930e 100644 --- a/grobid-service/src/main/resources/web/resources/pdf.js/web/viewer.html +++ b/grobid-service/src/main/resources/web/resources/pdf.js/web/viewer.html @@ -38,7 +38,7 @@ - + diff --git a/grobid-service/src/main/resources/web/resources/pdf.js/web/viewer.js b/grobid-service/src/main/resources/web/resources/pdf.js/web/viewer.js index ece31f2b93..126fab4da0 100644 --- a/grobid-service/src/main/resources/web/resources/pdf.js/web/viewer.js +++ b/grobid-service/src/main/resources/web/resources/pdf.js/web/viewer.js @@ -36,7 +36,7 @@ var DISABLE_AUTO_FETCH_LOADING_BAR_TIMEOUT = 5000; function configure(PDFJS) { PDFJS.imageResourcesPath = './images/'; - PDFJS.workerSrc = '../build/pdf.worker.js'; + PDFJS.workerSrc = '../build_/pdf.worker.js'; PDFJS.cMapUrl = '../web/cmaps/'; PDFJS.cMapPacked = true; }