missing '/' in doc

This commit is contained in:
lixxu 2017-09-06 19:19:59 +08:00
parent bc20dc5c62
commit 195f707f14

View File

@ -323,7 +323,7 @@ app.blueprint(bp)
# then build the url # then build the url
app.url_for('static', filename='file.txt') == '/static/file.txt' app.url_for('static', filename='file.txt') == '/static/file.txt'
app.url_for('static', name='static', filename='file.txt') == '/static/file.txt' app.url_for('static', name='static', filename='file.txt') == '/static/file.txt'
app.url_for('static', name='uploads', filename='file.txt') == 'uploads/file.txt' app.url_for('static', name='uploads', filename='file.txt') == '/uploads/file.txt'
app.url_for('static', name='best_png') == '/the_best.png' app.url_for('static', name='best_png') == '/the_best.png'
# blueprint url building # blueprint url building