From fe81014794b6682a97db67c2d5d1b1fbf11ef605 Mon Sep 17 00:00:00 2001 From: Paul Brinkmeier Date: Mon, 21 Aug 2023 14:14:47 +0200 Subject: [PATCH] Print link with access token to stderr --- jon/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jon/__init__.py b/jon/__init__.py index 78b2a04..6195cdf 100644 --- a/jon/__init__.py +++ b/jon/__init__.py @@ -43,5 +43,7 @@ def create_app(): return render_template("index.html") print(f"Jon started. Token: {auth.ACCESS_TOKEN}", file=sys.stderr) + # TODO: Get host and port from config + print(f"http://localhost:5000/?token={auth.ACCESS_TOKEN}", file=sys.stderr) return app