Added very small clarification to quickstart.rst

This commit is contained in:
Deep R. Ode 2020-07-03 15:55:56 +05:30 committed by GitHub
parent 47e165d6d5
commit 8074cbdc47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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