Skip to content

Commit

Permalink
Merge pull request #220 from RasaHQ/ready-log
Browse files Browse the repository at this point in the history
re-add 'up and ready' log
  • Loading branch information
erohmensing authored Jun 3, 2020
2 parents ccd9b7b + 8f6a279 commit 80fe5f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rasa_sdk/endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,9 @@ def run(
action_package_name, cors_origins=cors_origins, auto_reload=auto_reload
)
ssl_context = create_ssl_context(ssl_certificate, ssl_keyfile, ssl_password)
protocol = "https" if ssl_context else "http"

logger.info(f"Action endpoint is up and running on {protocol}://localhost:{port}")
app.run("0.0.0.0", port, ssl=ssl_context, workers=utils.number_of_sanic_workers())


Expand Down

0 comments on commit 80fe5f8

Please sign in to comment.