mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-17 07:12:09 +00:00
fx
This commit is contained in:
@@ -40,7 +40,7 @@ def flask_debug(_logger):
|
|||||||
"""
|
"""
|
||||||
# trunk-ignore(bandit/B201)
|
# trunk-ignore(bandit/B201)
|
||||||
_logger.info("Attempt debug")
|
_logger.info("Attempt debug")
|
||||||
app.run(debug=True, use_reloader=False, host=HOST_ADDRESS, port=PORT_ADDRESS, logger=_logger)
|
app.run(debug=True, use_reloader=False, host=HOST_ADDRESS, port=PORT_ADDRESS)
|
||||||
|
|
||||||
|
|
||||||
def waitress_run(_logger):
|
def waitress_run(_logger):
|
||||||
@@ -49,7 +49,7 @@ def waitress_run(_logger):
|
|||||||
and port 5000 using the Waitress WSGI server.
|
and port 5000 using the Waitress WSGI server.
|
||||||
"""
|
"""
|
||||||
_logger.info("Attempt waitress")
|
_logger.info("Attempt waitress")
|
||||||
serve(app, host=HOST_ADDRESS, port=PORT_ADDRESS, logger=_logger)
|
serve(app, host=HOST_ADDRESS, port=PORT_ADDRESS)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
logger = logging.getLogger('conjurer_musician')
|
logger = logging.getLogger('conjurer_musician')
|
||||||
|
|||||||
Reference in New Issue
Block a user