Skip to content

Commit

Permalink
Merge pull request #1307 from ste101/patch-2
Browse files Browse the repository at this point in the history
[TASK] Add header noindex to iCalDownload
  • Loading branch information
derhansen authored Jan 18, 2025
2 parents 0e19442 + bac5655 commit 70cc4ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Classes/Service/ICalendarService.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public function downloadiCalendarFile(RequestInterface $request, Event $event):
header('Expires: 0');
header('Cache-Control: must-revalidate');
header('Pragma: no-cache');
header('X-Robots-Tag: noindex');
echo $content;
}

Expand Down

0 comments on commit 70cc4ce

Please # to comment.