Skip to content

Commit

Permalink
Try to change worker src import
Browse files Browse the repository at this point in the history
This error is only on the version deployed by GitHub Pages. I don't know why.
  • Loading branch information
dinoosauro authored Apr 21, 2024
1 parent 801bc6e commit e372095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import PdfObj from "./Components/PdfUI"
import { PDFDocumentProxy } from "pdfjs-dist";
import * as PDFJS from "pdfjs-dist";
// @ts-ignore
import * as pdfjsWorker from "pdfjs-dist/build/pdf.worker.mjs";
import * as pdfjsWorker from "pdfjs-dist/build/pdf.worker";
import { CustomProp } from "./Interfaces/CustomOptions";
import ThemeManager from "./Scripts/ThemeManager";
import Lang from "./Scripts/LanguageTranslations";
Expand Down

0 comments on commit e372095

Please sign in to comment.