Fix in app
This commit is contained in:
parent
7f85bed0eb
commit
d94e5fbf25
1 changed files with 5 additions and 0 deletions
|
|
@ -29,6 +29,11 @@ def start_app():
|
||||||
app.config.update(
|
app.config.update(
|
||||||
JSON_SORT_KEYS=config.json_sort_keys
|
JSON_SORT_KEYS=config.json_sort_keys
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if hasattr(config, 'SERVER_NAME'):
|
||||||
|
application_root=config.application_root
|
||||||
|
SERVER_NAME=config.server_name
|
||||||
|
)
|
||||||
|
|
||||||
workdir=os.getcwd()
|
workdir=os.getcwd()
|
||||||
arr_module_path={}
|
arr_module_path={}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue