mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-05 11:48:33 +08:00
rely on {conf,module_build_service}/config.py and 'debug' conf item value
This commit is contained in:
@@ -288,14 +288,11 @@ def generatelocalhostcert():
|
||||
|
||||
|
||||
@manager.command
|
||||
def runssl(host=conf.host, port=conf.port, debug=False):
|
||||
def runssl(host=conf.host, port=conf.port, debug=conf.debug):
|
||||
""" Runs the Flask app with the HTTPS settings configured in config.py
|
||||
"""
|
||||
logging.info('Starting Module Build Service frontend')
|
||||
ssl_ctx = _establish_ssl_context()
|
||||
if 'MODULE_BUILD_SERVICE_DEVELOPER_ENV' in os.environ and \
|
||||
os.environ['MODULE_BUILD_SERVICE_DEVELOPER_ENV']:
|
||||
debug = True
|
||||
app.run(
|
||||
host=host,
|
||||
port=port,
|
||||
|
||||
Reference in New Issue
Block a user