mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Typo in docs about default redirect status code (#1589)
This commit is contained in:
parent
7b78279b93
commit
0499f174c0
1 changed files with 1 additions and 1 deletions
|
|
@ -428,7 +428,7 @@ You can use the ``custom_redirect(location)`` function to redirect users to anot
|
|||
|
||||
Now requests to ``http://localhost:8001/datasette`` will result in a redirect.
|
||||
|
||||
These redirects are served with a ``301 Found`` status code by default. You can send a ``301 Moved Permanently`` code by passing ``301`` as the second argument to the function:
|
||||
These redirects are served with a ``302 Found`` status code by default. You can send a ``301 Moved Permanently`` code by passing ``301`` as the second argument to the function:
|
||||
|
||||
.. code-block:: jinja
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue