Fix: use local pdf worker js (#6990)

This commit is contained in:
shamoon 2024-06-12 14:37:42 -07:00 committed by GitHub
parent 8d93462d96
commit e7d64a77cd

View File

@ -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()
}