summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2024-07-08 18:48:49 +0200
committerPhilip Sargent <philip.sargent@gmail.com>2024-07-08 18:48:49 +0200
commit35e6bbe1acb7aead34b1f40cbe9c4dbd524ee57b (patch)
tree74f96f670b7592b4c9bea9b09b1dfcf0c5a0f027 /urls.py
parentcb854696c93ed4bd2fdaf76d78857a240c10b52f (diff)
downloadtroggle-35e6bbe1acb7aead34b1f40cbe9c4dbd524ee57b.tar.gz
troggle-35e6bbe1acb7aead34b1f40cbe9c4dbd524ee57b.tar.bz2
troggle-35e6bbe1acb7aead34b1f40cbe9c4dbd524ee57b.zip
comment about gpx files
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/urls.py b/urls.py
index 6b79ab5..f75975b 100644
--- a/urls.py
+++ b/urls.py
@@ -55,6 +55,11 @@ todo = '''
# not yet restored all the functions. Some may have never been fully implemented in
# the first place and what they were intended to provide is obscure.
+
+# WHen running on the server, apache intercepts all teh /expofiles/ files so troggle never sees them,
+# so the "content type" is set by whatever apache thinks it should be. Which means .gpx files
+# get treated as XML and the web browser fails to do anything usefull
+
if settings.EXPOFILESREMOTE:
expofilesurls = [
path('<path:filepath>', expofiles_redirect, name="expofiles_redirect"), # to http://expo.survex.com/expofiles