📎 Add noindex tags on error report handler.

This commit is contained in:
Andrey Antukh 2021-10-05 11:28:40 +02:00 committed by Andrés Moya
parent 77cf4a5332
commit 9586d478ad
2 changed files with 3 additions and 1 deletions

View file

@ -119,7 +119,8 @@
(render-template))]
(if result
{:status 200
:headers {"content-type" "text/html; charset=utf-8"}
:headers {"content-type" "text/html; charset=utf-8"
"x-robots-tag" "noindex"}
:body result}
{:status 404
:body "not found"})))))