Added support for subdomain bound modules
This commit is contained in:
parent
b49afa21ad
commit
7680d52f42
4 changed files with 35 additions and 2 deletions
|
|
@ -454,6 +454,7 @@ class Flask(_PackageBoundObject):
|
|||
provided.
|
||||
"""
|
||||
options.setdefault('url_prefix', module.url_prefix)
|
||||
options.setdefault('subdomain', module.subdomain)
|
||||
state = _ModuleSetupState(self, **options)
|
||||
for func in module._register_events:
|
||||
func(state)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue