diff options
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -50,13 +50,13 @@ Test VERY CAREFULLY for each change. It is fragile. if settings.EXPOFILESREMOTE: expofilesurls = [ - path('/<path:filepath>', expofiles_redirect, name="expofiles_redirect"), # to http://expo.survex.com/expofiles + path('<path:filepath>', expofiles_redirect, name="expofiles_redirect"), # to http://expo.survex.com/expofiles path('', expofiles_redirect, {'filepath': ""}, name="expofiles_redirect"), ] else: expofilesurls = [ - path('/<path:filepath>', expofilessingle, name="single"), # local copy of EXPOFILES path('', expofilessingle, {'filepath': ""}, name="single"), + path('<path:filepath>', expofilessingle, name="single"), # local copy of EXPOFILES ] # see https://docs.djangoproject.com/en/dev/topics/auth/default/ |