From b9831c7f60edf24b85debf028902315ddd5a2020 Mon Sep 17 00:00:00 2001 From: ksamuel Date: Fri, 14 Aug 2020 16:45:06 +0200 Subject: [PATCH] In dev mode, display the full admin URL at server start --- zerobin/cli.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zerobin/cli.py b/zerobin/cli.py index b39c2cb..5c81bd9 100644 --- a/zerobin/cli.py +++ b/zerobin/cli.py @@ -56,7 +56,9 @@ def runserver( ) if updated_settings.DEBUG: - print(f"Admin URL: {settings.ADMIN_URL}") + print( + f"Admin URL for dev: http://{updated_settings.HOST}:{updated_settings.PORT}{settings.ADMIN_URL}" + ) print() run( app,