Fix: use local pdf worker js (#6990)

This commit is contained in:
shamoon authored and GitHub committed 2024-06-12 21:37:42 +00:00
1 parent 70069cd502
commit fa7a5451db
1 file changed
+2
+2
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()
}