@zero-library/common 3.0.9 → 3.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -2808,7 +2808,7 @@ var CodePreview = ({ fileUrl, suffix }) => {
2808
2808
  };
2809
2809
  var CodePreview_default = CodePreview;
2810
2810
  var { Text } = antd.Typography;
2811
- pdfjsLib__namespace.GlobalWorkerOptions.workerSrc = "https://logosdata.cn/public/pdf/pdf-5.4.296.worker.min.js";
2811
+ pdfjsLib__namespace.GlobalWorkerOptions.workerSrc = "https://unpkg.com/pdfjs-dist@5.4.296/legacy/build/pdf.worker.min.mjs";
2812
2812
  var MIN_SCALE = 0.6;
2813
2813
  var MAX_SCALE = 1.5;
2814
2814
  var SCALE_STEP = 0.1;