Skip to content

Commit

Permalink
Merge pull request #38725 from nextcloud/dropMetaRobots
Browse files Browse the repository at this point in the history
Drop meta robots header
  • Loading branch information
szaimen authored Jun 12, 2023
2 parents ac57cf9 + 5b5895a commit 1001adc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/public/AppFramework/Http/TemplateResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,6 @@ public function render() {
$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) {
Expand Down

0 comments on commit 1001adc

Please sign in to comment.