瀏覽代碼

Remove specific protocol for js includes

Andrew Collington 4 年之前
父節點
當前提交
db965ad03e
共有 2 個文件被更改,包括 6 次插入6 次删除
  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>

File diff suppressed because it is too large
+ 3 - 3
index.php


Some files were not shown because too many files changed in this diff