Skip to content

Commit

Permalink
fix: add pdfjs worker
Browse files Browse the repository at this point in the history
  • Loading branch information
rpidanny committed Jul 5, 2024
1 parent 6f3d7e1 commit 59c6633
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/services/pdf/pdf.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import { Service } from 'typedi'

import { DownloadService } from '../download/download.service.js'

pdfjs.GlobalWorkerOptions.workerSrc = 'pdfjs-dist/legacy/build/pdf.worker.mjs'

@Service()
export class PdfService {
constructor(
Expand Down

0 comments on commit 59c6633

Please sign in to comment.