2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-16 09:07:13 +00:00

Make maps an 'unvarnished' url

This commit is contained in:
2023-11-08 22:53:30 +02:00
parent ca289afe68
commit 08c56644eb
3 changed files with 20 additions and 5 deletions

View File

@@ -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