浏览代码

修复config.js 404问题

陈精华 6 年之前
父节点
当前提交
e57db6925c
共有 1 个文件被更改,包括 2 次插入10 次删除
  1. 2 10
      jodconverter-web/src/main/resources/static/pdfjs/web/viewer.html

+ 2 - 10
jodconverter-web/src/main/resources/static/pdfjs/web/viewer.html

@@ -27,17 +27,9 @@ See https://github.com/adobe-type-tools/cmap-resources
     <meta name="google" content="notranslate">
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <title>PDF.js viewer</title>
-
-
     <link rel="stylesheet" href="viewer.css">
-
-
-<!-- This snippet is used in production (included from viewer.html) -->
-<link rel="resource" type="application/l10n" href="locale/locale.properties">
-<script src="../build/pdf.js"></script>
-
-
-    <script src="../../config.js"></script>
+    <link rel="resource" type="application/l10n" href="locale/locale.properties">
+    <script src="../build/pdf.js"></script>
     <script src="viewer.js"></script>
 
   </head>