Skip to content

Commit

Permalink
Merge pull request #104 from Guria/patch-1
Browse files Browse the repository at this point in the history
Added startup message with url of running application
  • Loading branch information
bugy authored Mar 23, 2018
2 parents 851effb + 7383b6f commit 519edfd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,10 @@ def main():

http_server = httpserver.HTTPServer(application, ssl_options=ssl_context)
http_server.listen(server_config.port, address=server_config.address)

http_protocol = 'https' if server_config.ssl else 'http'
print('Server is running on: %s://%s:%s' % (http_protocol, server_config.address, server_config.port))

tornado.ioloop.IOLoop.current().start()


Expand Down

0 comments on commit 519edfd

Please sign in to comment.