Merge pull request #9557 from unclecheese/pulls/4.4/dev-noindex

MINOR: Add noindex metatag to debugview
This commit is contained in:
Steve Boyd 2020-07-01 09:11:43 +12:00 committed by GitHub
commit 01f93ef178
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -223,6 +223,7 @@ class DebugView
->resolveURL('silverstripe/framework:client/styles/debug.css');
$output = '<!DOCTYPE html><html><head><title>' . $url . '</title>';
$output .= '<link rel="stylesheet" type="text/css" href="' . $debugCSS . '" />';
$output .= '<meta name="robots" content="noindex">';
$output .= '</head>';
$output .= '<body>';