Browse Source

Fix the 108th issue.

pull/112/head
Heungsub Lee 15 years ago committed by Armin Ronacher
parent
commit
6fca662c84
  1. 3
      flask/module.py

3
flask/module.py

@ -31,7 +31,8 @@ def _register_module(module, static_path):
path = state.url_prefix + path
state.app.add_url_rule(path + '/<path:filename>',
endpoint='%s.static' % module.name,
view_func=module.send_static_file)
view_func=module.send_static_file,
subdomain=module.subdomain)
return _register

Loading…
Cancel
Save