mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
build folder got removed due to gitignore on pdf
This commit is contained in:
parent
0a00a45a82
commit
a6074a9515
3 changed files with 44 additions and 2 deletions
|
|
@ -56,7 +56,7 @@ export default function PdfArticleContainer(props: PdfArticleContainerProps) {
|
|||
const pdfjsViewer = await import('pdfjs-dist/web/pdf_viewer.mjs')
|
||||
|
||||
pdfJSLib.GlobalWorkerOptions.workerSrc =
|
||||
window.location.origin + '/pdfjs-dist/build/pdf.worker.min.mjs'
|
||||
window.location.origin + '/pdfjs-dist/pdf.worker.min.mjs'
|
||||
|
||||
const eventBus = new pdfjsViewer.EventBus()
|
||||
const pdfLinkService = new pdfjsViewer.PDFLinkService({
|
||||
|
|
@ -70,7 +70,7 @@ export default function PdfArticleContainer(props: PdfArticleContainerProps) {
|
|||
const pdfScriptingManager = new pdfjsViewer.PDFScriptingManager({
|
||||
eventBus,
|
||||
sandboxBundleSrc:
|
||||
window.location.origin + '/pdfjs-dist/build/pdf.sandbox.mjs',
|
||||
window.location.origin + '/pdfjs-dist/pdf.sandbox.mjs',
|
||||
})
|
||||
|
||||
const pdfViewer = new pdfjsViewer.PDFViewer({
|
||||
|
|
|
|||
21
packages/web/public/pdfjs-dist/pdf.sandbox.min.mjs
Normal file
21
packages/web/public/pdfjs-dist/pdf.sandbox.min.mjs
Normal file
File diff suppressed because one or more lines are too long
21
packages/web/public/pdfjs-dist/pdf.worker.min.mjs
Normal file
21
packages/web/public/pdfjs-dist/pdf.worker.min.mjs
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue