Merge pull request #2719 from greyli/patch-9

Fix typo in docs
This commit is contained in:
Hsiaoming Yang 2018-04-24 09:57:32 +09:00 committed by GitHub
commit 4df5f82914
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -158,7 +158,7 @@ It is either an absolute path or relative to the blueprint's location::
admin = Blueprint('admin', __name__, static_folder='static') admin = Blueprint('admin', __name__, static_folder='static')
By default the rightmost part of the path is where it is exposed on the By default the rightmost part of the path is where it is exposed on the
web. This can be changed with the ``static_url`` argument. Because the web. This can be changed with the ``static_url_path`` argument. Because the
folder is called ``static`` here it will be available at the folder is called ``static`` here it will be available at the
``url_prefix`` of the blueprint + ``/static``. If the blueprint ``url_prefix`` of the blueprint + ``/static``. If the blueprint
has the prefix ``/admin``, the static URL will be ``/admin/static``. has the prefix ``/admin``, the static URL will be ``/admin/static``.