Disallow archives resend URLs
authorMagnus Hagander <magnus@hagander.net>
Fri, 9 Apr 2021 13:30:16 +0000 (15:30 +0200)
committerMagnus Hagander <magnus@hagander.net>
Fri, 9 Apr 2021 13:30:16 +0000 (15:30 +0200)
They all generate redirects to the login page, so there is no point in
indexing them anyway.

pgweb/core/views.py

index e9a37090fbdff00939ad47fca76d06ad88ebccf6..5ab48ff0ae6a33a9801b70e69338457596e5ea78 100644 (file)
@@ -164,6 +164,7 @@ Disallow: /list/
 Disallow: /search/
 Disallow: /message-id/raw/
 Disallow: /message-id/flat/
+Disallow: /message-id/resend/
 
 Sitemap: https://www.postgresql.org/sitemap.xml
 """, content_type='text/plain')