mirror of
https://github.com/Tygs/0bin.git
synced 2023-08-10 21:13:00 +03:00
In dev mode, display the full admin URL at server start
This commit is contained in:
parent
2d9dab6591
commit
b9831c7f60
@ -56,7 +56,9 @@ def runserver(
|
|||||||
)
|
)
|
||||||
|
|
||||||
if updated_settings.DEBUG:
|
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()
|
print()
|
||||||
run(
|
run(
|
||||||
app,
|
app,
|
||||||
|
Loading…
Reference in New Issue
Block a user