projects
/
pgweb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
368550f
)
Disallow archives resend URLs
author
Magnus Hagander
<magnus@hagander.net>
Fri, 9 Apr 2021 13:30:16 +0000
(15:30 +0200)
committer
Magnus 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
patch
|
blob
|
blame
|
history
diff --git
a/pgweb/core/views.py
b/pgweb/core/views.py
index e9a37090fbdff00939ad47fca76d06ad88ebccf6..5ab48ff0ae6a33a9801b70e69338457596e5ea78 100644
(file)
--- a/
pgweb/core/views.py
+++ b/
pgweb/core/views.py
@@
-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')