Skip to content
Myr

fix subdomain for static rule on registering module

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Daniel Gerber · committed by Armin Ronacher · parent 4c76607 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:flask/module.py+1 added-1 removed
30 unmodified lines
31 path = state.url_prefix + path32 state.app.add_url_rule(path + '/<path:filename>',33 endpoint='%s.static' % module.name,34 view_func=module.send_static_file,35 subdomain=module.subdomain)35 subdomain=state.subdomain)36 return _register373839class _ModuleSetupState(object):
183 unmodified lines