update tile access cookie setting infrastructure

This commit is contained in:
Laura Klünder 2017-12-04 17:24:01 +01:00
parent d4a0a9b7dd
commit 1169597800
6 changed files with 24 additions and 32 deletions

View file

@ -1,6 +1,6 @@
from django.conf.urls import url
from c3nav.mapdata.views import get_cache_package, map_history, tile, tile_access
from c3nav.mapdata.views import get_cache_package, map_history, tile
urlpatterns = [
url(r'^(?P<level>\d+)/(?P<zoom>-?\d+)/(?P<x>-?\d+)/(?P<y>-?\d+).png$', tile, name='mapdata.tile'),
@ -9,5 +9,4 @@ urlpatterns = [
url(r'^history/(?P<level>\d+)/(?P<mode>base|composite)\.(?P<filetype>png|data)$', map_history,
name='mapdata.map_history'),
url(r'^cache/package\.(?P<filetype>tar|tar\.gz|tar\.xz)$', get_cache_package, name='mapdata.cache_package'),
url(r'^tile_access$', tile_access, name='mapdata.tile_access'),
]