From 08c56644ebfd694c3f57de1e9b9e7afcfef1dba2 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Wed, 8 Nov 2023 22:53:30 +0200 Subject: Make maps an 'unvarnished' url --- urls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'urls.py') diff --git a/urls.py b/urls.py index 65d3ac4..5283849 100644 --- a/urls.py +++ b/urls.py @@ -236,8 +236,8 @@ trogglepatterns = [ # This next set are all intercepted by Apache, if it is running, with no problem. re_path(r'^photos/(?P.*)$', mediapage, {'doc_root': settings.PHOTOS_ROOT}, name="mediapage"), # photo galleries - re_path(r'^map/map.html', map, name="map"), # Redirects to OpenStreetMap JavaScript. NOT WORKING - re_path(r'^map/(?P.*)$', mapfile, name="mapfile"), # css, js, gpx. NOT WORKING + re_path(r'^map/slippy/map.html', map, name="map"), # Redirects to OpenStreetMap JavaScript. NOT WORKING + re_path(r'^map/slippy/(?P.*)$', mapfile, name="mapfile"), # css, js, gpx. NOT WORKING # This next set are all intercepted by Apache, if it is running, AND troggle must manage these, # even though the code is not in the troggle repo -- cgit v1.2.3