Ver código fonte

Added contributed PR code to template.phps where it should belong

Also bumped version of axios
Andrew Collington 2 anos atrás
pai
commit
0f3c71770a
2 arquivos alterados com 6 adições e 5 exclusões
  1. 4 3
      build/template.phps
  2. 2 2
      index.php

+ 4 - 3
build/template.phps

@@ -69,10 +69,11 @@ $opcache = (new Service($options))->handle();
 <head>
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width,initial-scale=1.0">
+    <meta name="robots" content="noindex, nofollow" />
     <title>OPcache statistics on <?= $opcache->getData('version', 'host'); ?></title>
-    <script src="//unpkg.com/react/umd/react.production.min.js"></script>
-    <script src="//unpkg.com/react-dom/umd/react-dom.production.min.js"></script>
-    <script src="//unpkg.com/axios/dist/axios.min.js"></script>
+    <script src="//cdnjs.cloudflare.com/ajax/libs/react/18.2.0/umd/react.production.min.js"></script>
+    <script src="//cdnjs.cloudflare.com/ajax/libs/react-dom/18.2.0/umd/react-dom.production.min.js"></script>
+    <script src="//cdnjs.cloudflare.com/ajax/libs/axios/1.3.6/axios.min.js"></script>
     <style>
         {{CSS_OUTPUT}}
     </style>

Diferenças do arquivo suprimidas por serem muito extensas
+ 2 - 2
index.php


Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff