Merge pull request #3674 from DeepOde/master

Added very small clarification to quickstart.rst
This commit is contained in:
Grey Li 2020-07-05 08:28:28 +08:00 committed by GitHub
commit 3fe5eecc2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -265,14 +265,14 @@ The following two rules differ in their use of a trailing slash. ::
The canonical URL for the ``projects`` endpoint has a trailing slash.
It's similar to a folder in a file system. If you access the URL without
a trailing slash, Flask redirects you to the canonical URL with the
trailing slash.
a trailing slash (``/projects``), Flask redirects you to the canonical URL
with the trailing slash (``/projects/``).
The canonical URL for the ``about`` endpoint does not have a trailing
slash. It's similar to the pathname of a file. Accessing the URL with a
trailing slash produces a 404 "Not Found" error. This helps keep URLs
unique for these resources, which helps search engines avoid indexing
the same page twice.
trailing slash (``/about/``) produces a 404 "Not Found" error. This helps
keep URLs unique for these resources, which helps search engines avoid
indexing the same page twice.
.. _url-building: