Browse Source

Merge pull request #2719 from greyli/patch-9

Fix typo in docs
pull/2720/head
Hsiaoming Yang 7 years ago committed by GitHub
parent
commit
4df5f82914
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/blueprints.rst

2
docs/blueprints.rst

@ -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``.

Loading…
Cancel
Save