mirror of
https://github.com/simonw/datasette.git
synced 2026-09-28 12:54:10 +02:00
docs: fix dead Starlette, Uvicorn and Docker Hub links (#2912)
www.starlette.io and www.uvicorn.org no longer resolve (NXDOMAIN); both projects now publish their documentation at starlette.dev and uvicorn.dev respectively. The Docker Hub link was missing the /r/ path segment, which returns a 404. - docs/plugin_hooks.rst: www.starlette.io/middleware/ -> starlette.dev/middleware/ - docs/changelog.rst (x3): www.uvicorn.org/ -> uvicorn.dev/ - docs/changelog.rst: hub.docker.com/datasetteproject/... -> hub.docker.com/r/datasetteproject/... All four replacement URLs verified to return HTTP 200.
This commit is contained in:
parent
374b194ff5
commit
d60d88488f
2 changed files with 5 additions and 5 deletions
|
|
@ -1107,7 +1107,7 @@ Return an `ASGI <https://asgi.readthedocs.io/>`__ middleware wrapper function th
|
|||
|
||||
This is a very powerful hook. You can use it to manipulate the entire Datasette response, or even to configure new URL routes that will be handled by your own custom code.
|
||||
|
||||
You can write your ASGI code directly against the low-level specification, or you can use the middleware utilities provided by an ASGI framework such as `Starlette <https://www.starlette.io/middleware/>`__.
|
||||
You can write your ASGI code directly against the low-level specification, or you can use the middleware utilities provided by an ASGI framework such as `Starlette <https://starlette.dev/middleware/>`__.
|
||||
|
||||
This example plugin adds a ``x-databases`` HTTP header listing the currently attached databases:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue