Skip to content

Commit 79f8497

Browse files
committed
Fix misplaced prefix.
1 parent 943324e commit 79f8497

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tiled/server/router.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ async def about(
248248
)
249249

250250
@router.get(
251-
"/api/v1/search/{path:path}",
251+
"/search/{path:path}",
252252
response_model=schemas.Response[
253253
List[schemas.Resource[schemas.NodeAttributes, dict, dict]],
254254
schemas.PaginationLinks,
@@ -327,7 +327,7 @@ async def search(
327327
)
328328

329329
@router.get(
330-
"/api/v1/distinct/{path:path}",
330+
"/distinct/{path:path}",
331331
response_model=schemas.GetDistinctResponse,
332332
)
333333
@patch_route_signature(query_registry=query_registry)

0 commit comments

Comments
 (0)