mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
/-/actor.json no longer requires view-instance, closes #1945
This commit is contained in:
parent
3e6a208ba3
commit
c6a811237c
3 changed files with 38 additions and 3 deletions
|
|
@ -1262,7 +1262,9 @@ class Datasette:
|
|||
r"/-/databases(\.(?P<format>json))?$",
|
||||
)
|
||||
add_route(
|
||||
JsonDataView.as_view(self, "actor.json", self._actor, needs_request=True),
|
||||
JsonDataView.as_view(
|
||||
self, "actor.json", self._actor, needs_request=True, permission=None
|
||||
),
|
||||
r"/-/actor(\.(?P<format>json))?$",
|
||||
)
|
||||
add_route(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue