fix type in tile url pattern

This commit is contained in:
Gwendolyn 2023-12-21 22:59:07 +01:00
parent 9278b98add
commit 4510c346cb

View file

@ -12,7 +12,7 @@ register_converter(ArchiveFileExtConverter, 'archive_fileext')
urlpatterns = [ urlpatterns = [
path('<int:level>/<sint:zoom>/<sint:x>/<sint:y>.png', tile, name='mapdata.tile'), path('<int:level>/<sint:zoom>/<sint:x>/<sint:y>.png', tile, name='mapdata.tile'),
path('<int:level>/<sint:zoom>/<sint:x>/<sint:Y>/<a_perms:access_permissions>.png', tile, name='mapdata.tile'), path('<int:level>/<sint:zoom>/<sint:x>/<sint:y>/<a_perms:access_permissions>.png', tile, name='mapdata.tile'),
path('history/<int:level>/<h_mode:mode>.<h_fileext:filetype>', map_history, name='mapdata.map_history'), path('history/<int:level>/<h_mode:mode>.<h_fileext:filetype>', map_history, name='mapdata.map_history'),
path('cache/package.<archive_fileext:filetype>', get_cache_package, name='mapdata.cache_package'), path('cache/package.<archive_fileext:filetype>', get_cache_package, name='mapdata.cache_package'),
] ]