Skip to content

Commit fdae354

Browse files
Heungsub Leemitsuhiko
authored andcommitted
Fix the 108th issue.
1 parent d5f67fd commit fdae354

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

flask/module.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ def _register(state):
3131
path = state.url_prefix + path
3232
state.app.add_url_rule(path + '/<path:filename>',
3333
endpoint='%s.static' % module.name,
34-
view_func=module.send_static_file)
34+
view_func=module.send_static_file,
35+
subdomain=module.subdomain)
3536
return _register
3637

3738

0 commit comments

Comments
 (0)