Sfoglia il codice sorgente

Remove specific protocol for js includes

Andrew Collington 4 anni fa
parent
commit
db965ad03e
2 ha cambiato i file con 6 aggiunte e 6 eliminazioni
  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