mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Fix for bug running ?sql= against databases with a different route, closes #1682
This commit is contained in:
parent
d7c793d799
commit
0159662ab8
2 changed files with 7 additions and 1 deletions
|
|
@ -94,6 +94,7 @@ async def test_db_with_route_databases(ds_with_route):
|
|||
("/original-name/t", 404),
|
||||
("/original-name/t/1", 404),
|
||||
("/custom-route-name", 200),
|
||||
("/custom-route-name?sql=select+id+from+t", 200),
|
||||
("/custom-route-name/t", 200),
|
||||
("/custom-route-name/t/1", 200),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue