0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-15 17:21:17 -05:00

📎 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

@ -2,6 +2,7 @@
<html>
<head>
<meta charset="utf-8" />
<meta name="robots" content="noindex,nofollow">
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<title>penpot - error report {{id}}</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=JetBrains+Mono">

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"})))))