mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 15:25:41 +01:00
Fix: correct broken worker src after upgrade to pdfjs v4 (#7626)
This commit is contained in:
parent
b29c1e91d1
commit
e1ba1a1898
2 changed files with 3 additions and 3 deletions
|
|
@ -36,7 +36,7 @@ export class AppComponent implements OnInit, OnDestroy {
|
|||
private hotKeyService: HotKeyService
|
||||
) {
|
||||
let anyWindow = window as any
|
||||
anyWindow.pdfWorkerSrc = 'assets/js/pdf.worker.min.js'
|
||||
anyWindow.pdfWorkerSrc = 'assets/js/pdf.worker.min.mjs'
|
||||
this.settings.updateAppearanceSettings()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue