diff options
Diffstat (limited to 'core/views/expo.py')
-rw-r--r-- | core/views/expo.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/views/expo.py b/core/views/expo.py index 900ca32..1ff8824 100644 --- a/core/views/expo.py +++ b/core/views/expo.py @@ -60,13 +60,13 @@ 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""" - fn = Path(settings.EXPOWEB, "map", "map.html") + """Serves unadorned the expoweb/map/slippy/map.html file""" + fn = Path(settings.EXPOWEB, "map", "slippy", "map.html") return HttpResponse(content=open(fn, "r"), content_type="text/html") def mapfile(request, path): - """Serves unadorned file""" + """Serves unadorned file: everything in the /map/... folder tree""" fn = Path(settings.EXPOWEB, "map", path) return HttpResponse(content=open(fn, "r"), content_type=getmimetype(fn)) |