Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
NotReeceHarris committed Jul 9, 2021
1 parent 3b2a2dd commit acbc2d2
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions server/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,13 +323,10 @@ def importPost():
if debug:
app.run(host=hostname, port=port, debug=True)
else:
RED = u'\u001b[31m'
REDBACK = u'\u001b[41m'
RESET = u'\u001b[0m'
print(f"""
{REDBACK} {RESET} DataStore3
{RED}Host:{RESET}{hostname}
{RED}Port:{RESET}{port}
{RED}Url:{RESET}http://{hostname}:{port}
DataStore3
Host: {hostname}
Port: {port}
Url : http://{hostname}:{port}
""")
serve(app, host=hostname, port=port)

0 comments on commit acbc2d2

Please sign in to comment.