mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-17 07:07:18 +00:00
re-enable /map/tools/
This commit is contained in:
@@ -68,6 +68,7 @@ def map(request):
|
||||
def mapfile(request, path):
|
||||
"""Serves unadorned file: everything in the /map/... folder tree"""
|
||||
fn = Path(settings.EXPOWEB, "map", path)
|
||||
print(f"MAP cuttout. \n{path=}\n{fn=} mime:{getmimetype(fn)}")
|
||||
return HttpResponse(content=open(fn, "r"), content_type=getmimetype(fn))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user