Переглянути джерело

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

Also bumped version of axios
Andrew Collington 2 роки тому
батько
коміт
0f3c71770a
2 змінених файлів з 6 додано та 5 видалено
  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>
 <head>
     <meta charset="UTF-8">
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width,initial-scale=1.0">
     <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>
     <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>
     <style>
         {{CSS_OUTPUT}}
         {{CSS_OUTPUT}}
     </style>
     </style>

Різницю між файлами не показано, бо вона завелика
+ 2 - 2
index.php


Деякі файли не було показано, через те що забагато файлів було змінено