summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2023-11-08 22:53:30 +0200
committerPhilip Sargent <philip.sargent@gmail.com>2023-11-08 22:53:30 +0200
commit08c56644ebfd694c3f57de1e9b9e7afcfef1dba2 (patch)
tree1b37ff751f0825b4e7b31acc1f74572b5317ea21 /urls.py
parentca289afe68b403b96c14f37fb473886be2541a4f (diff)
downloadtroggle-08c56644ebfd694c3f57de1e9b9e7afcfef1dba2.tar.gz
troggle-08c56644ebfd694c3f57de1e9b9e7afcfef1dba2.tar.bz2
troggle-08c56644ebfd694c3f57de1e9b9e7afcfef1dba2.zip
Make maps an 'unvarnished' url
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py4
1 files changed, 2 insertions, 2 deletions
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<subpath>.*)$', 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<path>.*)$', 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<path>.*)$', 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