self serve pdf.worker.min.js

This commit is contained in:
Stefan committed 2020-12-31 15:07:35 +01:00
1 parent 70cb27bf0a
commit aa7e2594e2
2 files changed
+7 -2

No files matched your search

+2 -1
View File
@@ -6,8 +6,9 @@ import { Component } from '@angular/core';
styleUrls: ['./app.component.scss']
})
export class AppComponent {
constructor () {
(window as any).pdfWorkerSrc = '/assets/js/pdf.worker.min.js';
}