diff --git a/src-ui/src/app/app.component.ts b/src-ui/src/app/app.component.ts index 7e8abdf34..c6de83cd1 100644 --- a/src-ui/src/app/app.component.ts +++ b/src-ui/src/app/app.component.ts @@ -35,6 +35,8 @@ export class AppComponent implements OnInit, OnDestroy { private permissionsService: PermissionsService, private hotKeyService: HotKeyService ) { + let anyWindow = window as any + anyWindow.pdfWorkerSrc = 'assets/js/pdf.worker.min.js' this.settings.updateAppearanceSettings() }