Browse Source

why we continue on static? that's why

master
Julio Biason 10 years ago
parent
commit
e1506eca73
  1. 2
      luncho/blueprints/index.py

2
luncho/blueprints/index.py

@ -19,6 +19,8 @@ def show_routes():
for rule in current_app.url_map.iter_rules():
endpoint = rule.endpoint
if endpoint == 'static':
# the server does not have a static path, but Flask automatically
# registers it. so we just ignore it.
continue
path = str(rule)

Loading…
Cancel
Save