From 6fca662c841797a2006999c699a6738b20af1d4e Mon Sep 17 00:00:00 2001 From: Heungsub Lee Date: Fri, 20 Aug 2010 15:29:13 +0800 Subject: [PATCH] Fix the 108th issue. --- flask/module.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flask/module.py b/flask/module.py index 29350eb6..5f3c8c1f 100644 --- a/flask/module.py +++ b/flask/module.py @@ -31,7 +31,8 @@ def _register_module(module, static_path): path = state.url_prefix + path state.app.add_url_rule(path + '/', endpoint='%s.static' % module.name, - view_func=module.send_static_file) + view_func=module.send_static_file, + subdomain=module.subdomain) return _register