Merge pull request #4 from n1ywb/master

add http:// to server info message so it's clickable
This commit is contained in:
channelcat 2016-10-14 19:40:40 -07:00 committed by GitHub
commit 67db0bcbf3

View File

@ -164,7 +164,7 @@ class Sanic:
log.debug(self.config.LOGO)
# Serve
log.info('Goin\' Fast @ {}:{}'.format(host, port))
log.info('Goin\' Fast @ http://{}:{}'.format(host, port))
try:
serve(
@ -184,4 +184,4 @@ class Sanic:
"""
This kills the Sanic
"""
asyncio.get_event_loop().stop()
asyncio.get_event_loop().stop()