mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-09 09:58:20 -05:00
Fix: use local pdf worker js (#6990)
This commit is contained in:
parent
70069cd502
commit
fa7a5451db
@ -35,6 +35,8 @@ export class AppComponent implements OnInit, OnDestroy {
|
|||||||
private permissionsService: PermissionsService,
|
private permissionsService: PermissionsService,
|
||||||
private hotKeyService: HotKeyService
|
private hotKeyService: HotKeyService
|
||||||
) {
|
) {
|
||||||
|
let anyWindow = window as any
|
||||||
|
anyWindow.pdfWorkerSrc = 'assets/js/pdf.worker.min.js'
|
||||||
this.settings.updateAppearanceSettings()
|
this.settings.updateAppearanceSettings()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user