mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Fix /-/tables endpoint: add .json support and correct response format
This commit is contained in:
parent
7d04211559
commit
8e47f99874
2 changed files with 20 additions and 15 deletions
|
|
@ -1885,7 +1885,7 @@ class Datasette:
|
|||
)
|
||||
add_route(
|
||||
TablesView.as_view(self),
|
||||
r"/-/tables$",
|
||||
r"/-/tables(\.(?P<format>json))?$",
|
||||
)
|
||||
add_route(
|
||||
LogoutView.as_view(self),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue