Browse Source

修复config.js 404问题

陈精华 5 years ago
parent
commit
e57db6925c
1 changed files with 2 additions and 10 deletions
  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>