Parcourir la source

将依赖的资源(uni.webview.js)放在本地,而不是从网络加载

x86 il y a 7 mois
Parent
commit
cf68e76b0b
2 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      open-work/public/index.html
  2. 0 0
      open-work/public/uni.webview.1.5.4.js

+ 1 - 1
open-work/public/index.html

@@ -7,7 +7,7 @@
     <link rel="icon" href="<%= BASE_URL %>favicon.ico">
     <title><%= htmlWebpackPlugin.options.title %></title>
   </head>
-  <script type="text/javascript" src="https://static.wildfirechat.cn/uni.webview.1.5.4.js"></script>
+  <script type="text/javascript" src="/uni.webview.1.5.4.js"></script>
   <body>
     <noscript>
       <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
open-work/public/uni.webview.1.5.4.js


Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff