Browse Source
Merge pull request #38725 from nextcloud/dropMetaRobots
Drop meta robots header
pull/38642/head
Simon L
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
1 deletions
-
lib/public/AppFramework/Http/TemplateResponse.php
|
|
|
@ -203,7 +203,6 @@ class TemplateResponse extends Response { |
|
|
|
$renderAs = $this->renderAs; |
|
|
|
} |
|
|
|
|
|
|
|
\OCP\Util::addHeader('meta', ['name' => 'robots', 'content' => 'noindex, nofollow']); |
|
|
|
$template = new \OCP\Template($this->appName, $this->templateName, $renderAs); |
|
|
|
|
|
|
|
foreach ($this->params as $key => $value) { |
|
|
|
|