Merge pull request #95 from firassziedan/master

Add noIndex to the HTML Opcache status page in case the web crawlers detect the page
This commit is contained in:
Andrew Collington 2023-04-23 00:39:52 +01:00 committed by GitHub
commit 679c9b0671
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>