Skip to content

Commit 03203c8

Browse files
authored
add path to collection id for map (#2294)
1 parent a478147 commit 03203c8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pygeoapi/flask_app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,8 +399,8 @@ def get_collection_tiles_data(collection_id: str | None = None,
399399
)
400400

401401

402-
@BLUEPRINT.route('/collections/<collection_id>/map')
403-
@BLUEPRINT.route('/collections/<collection_id>/styles/<style_id>/map')
402+
@BLUEPRINT.route('/collections/<path:collection_id>/map')
403+
@BLUEPRINT.route('/collections/<path:collection_id>/styles/<style_id>/map')
404404
def collection_map(collection_id: str, style_id: str | None = None):
405405
"""
406406
OGC API - Maps map render endpoint

0 commit comments

Comments
 (0)