File tree Expand file tree Collapse file tree 3 files changed +1
-22
lines changed Expand file tree Collapse file tree 3 files changed +1
-22
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,7 @@ const Opensigndrive = lazy(() => import("./pages/Opensigndrive"));
30
30
const ManageSign = lazy ( ( ) => import ( "./pages/Managesign" ) ) ;
31
31
const GenerateToken = lazy ( ( ) => import ( "./pages/GenerateToken" ) ) ;
32
32
const Webhook = lazy ( ( ) => import ( "./pages/Webhook" ) ) ;
33
-
34
- pdfjs . GlobalWorkerOptions . workerSrc = new URL (
35
- "pdfjs-dist/legacy/build/pdf.worker.min.mjs" ,
36
- import . meta. url
37
- ) . toString ( ) ;
33
+ pdfjs . GlobalWorkerOptions . workerSrc = `//cdnjs.cloudflare.com/ajax/libs/pdf.js/${ pdfjs . version } /pdf.worker.min.mjs` ;
38
34
const AppLoader = ( ) => {
39
35
return (
40
36
< div className = "flex justify-center items-center h-[100vh]" >
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ import {
16
16
import DragElement from "./components/pdf/DragElement" ;
17
17
import TagManager from "react-gtm-module" ;
18
18
import Parse from "parse" ;
19
- import './polyfills'
20
19
const appId = process . env . REACT_APP_APPID
21
20
? process . env . REACT_APP_APPID
22
21
: "opensign" ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments