diff --git a/vibora/server.py b/vibora/server.py index 933eb80..9db5db0 100644 --- a/vibora/server.py +++ b/vibora/server.py @@ -295,8 +295,10 @@ def run(self, host: str='127.0.0.1', port: int=5000, workers: int=None, debug: b wait_server_available(host, port) if startup_message: - cprint('# Vibora ({color_}' + __version__ + '{end_}) # http://' + str(host) + ':' + str(port), - custom=True) + message = '# Vibora ({color_}' + __version__ + '{end_}) ' + if not sock: + message += '# http://' + str(host) + ':' + str(port) + cprint(message, custom=True) self.running = True if block: