Przeglądaj źródła

Add noIndex to html opcache status page

Firass Ziedan 2 lat temu
rodzic
commit
69cb808253
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      index.php

+ 2 - 1
index.php

@@ -508,6 +508,7 @@ $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>
+    <meta name='robots' content='noindex, nofollow' />
     <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>
@@ -1768,4 +1769,4 @@ function debounce(func, wait, immediate) {
     </script>
 
 </body>
-</html>
+</html>