diff --git a/flask/module.py b/flask/module.py index 5f3c8c1f..4e719a4e 100644 --- a/flask/module.py +++ b/flask/module.py @@ -32,7 +32,7 @@ def _register_module(module, static_path): state.app.add_url_rule(path + '/', endpoint='%s.static' % module.name, view_func=module.send_static_file, - subdomain=module.subdomain) + subdomain=state.subdomain) return _register