Fix the 108th issue.
This commit is contained in:
parent
d903f55e83
commit
6fca662c84
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue