瀏覽代碼

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

x86 7 月之前
父節點
當前提交
cf68e76b0b
共有 2 個文件被更改,包括 1 次插入1 次删除
  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>

文件差異過大導致無法顯示
+ 0 - 0
open-work/public/uni.webview.1.5.4.js


部分文件因文件數量過多而無法顯示