mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-16 06:57:12 +00:00
spiders are asking for weird urls
This commit is contained in:
@@ -56,6 +56,8 @@ def expofiles_redirect(request, filepath):
|
||||
"""
|
||||
return redirect(urljoin("http://expo.survex.com/expofiles/", filepath))
|
||||
|
||||
def spider(request, _):
|
||||
return redirect("/?#") # so that suffixes applied by spider are no longer part of the url
|
||||
|
||||
def map(request):
|
||||
"""Serves unadorned the expoweb/map/map.html file"""
|
||||
|
||||
Reference in New Issue
Block a user