diff --git a/paramecio2/app.py b/paramecio2/app.py index 01cc13e..99505bd 100644 --- a/paramecio2/app.py +++ b/paramecio2/app.py @@ -29,6 +29,11 @@ def start_app(): app.config.update( 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() arr_module_path={}