Fix main app migration pathway
This commit is contained in:
parent
561522c6d3
commit
aff1a08a83
4 changed files with 23 additions and 8 deletions
|
@ -9,6 +9,7 @@ from util.ipresolver import NoopIPResolver
|
|||
|
||||
from config_app._init_config import ROOT_DIR
|
||||
from config_app.config_util.config import get_config_provider
|
||||
from util.security.instancekeys import InstanceKeys
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
|
@ -35,5 +36,6 @@ else:
|
|||
config_provider.update_app_config(app.config)
|
||||
superusers = SuperUserManager(app)
|
||||
ip_resolver = NoopIPResolver()
|
||||
instance_keys = InstanceKeys(app)
|
||||
|
||||
model.config.app_config = app.config
|
||||
|
|
Reference in a new issue