Browse Source

Remove specific protocol for js includes

Andrew Collington 4 năm trước cách đây
mục cha
commit
db965ad03e
2 tập tin đã thay đổi với 6 bổ sung6 xóa
  1. 3 3
      build/template.phps
  2. 3 3
      index.php

+ 3 - 3
build/template.phps

@@ -66,9 +66,9 @@ $opcache = (new Service($options))->handle();
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width,initial-scale=1.0">
     <title>OPcache statistics on <?= $opcache->getData('version', 'host'); ?></title>
-    <script src="https://unpkg.com/react@16/umd/react.development.js" crossorigin></script>
-    <script src="https://unpkg.com/react-dom@16/umd/react-dom.development.js" crossorigin></script>
-    <script src="https://unpkg.com/axios/dist/axios.min.js" crossorigin></script>
+    <script src="//unpkg.com/react@16/umd/react.development.js" crossorigin></script>
+    <script src="//unpkg.com/react-dom@16/umd/react-dom.development.js" crossorigin></script>
+    <script src="//unpkg.com/axios/dist/axios.min.js" crossorigin></script>
     <style type="text/css">
         {{CSS_OUTPUT}}
     </style>

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 3 - 3
index.php


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác