diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2023-11-08 22:53:30 +0200 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2023-11-08 22:53:30 +0200 |
commit | 08c56644ebfd694c3f57de1e9b9e7afcfef1dba2 (patch) | |
tree | 1b37ff751f0825b4e7b31acc1f74572b5317ea21 /urls.py | |
parent | ca289afe68b403b96c14f37fb473886be2541a4f (diff) | |
download | troggle-08c56644ebfd694c3f57de1e9b9e7afcfef1dba2.tar.gz troggle-08c56644ebfd694c3f57de1e9b9e7afcfef1dba2.tar.bz2 troggle-08c56644ebfd694c3f57de1e9b9e7afcfef1dba2.zip |
Make maps an 'unvarnished' url
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |