From 39559cccb9f721609e61543fa437f86d682d87db Mon Sep 17 00:00:00 2001 From: ben Date: Mon, 23 Jan 2023 21:15:43 +0000 Subject: [PATCH 1/2] Removes https in super user link --- lnbits/core/services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnbits/core/services.py b/lnbits/core/services.py index eefb2f990..72ee543c9 100644 --- a/lnbits/core/services.py +++ b/lnbits/core/services.py @@ -434,7 +434,7 @@ async def check_admin_settings(): http = "https" if settings.lnbits_force_https else "http" admin_url = ( - f"{http}://{settings.host}:{settings.port}/wallet?usr={settings.super_user}" + f"http://{settings.host}:{settings.port}/wallet?usr={settings.super_user}" ) logger.success(f"✔️ Access super user account at: {admin_url}") From 3c61f61588c70a375f69b0764c32934d324a8c7c Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 24 Jan 2023 10:40:51 +0000 Subject: [PATCH 2/2] removed http var --- lnbits/core/services.py | 1 - 1 file changed, 1 deletion(-) diff --git a/lnbits/core/services.py b/lnbits/core/services.py index 72ee543c9..446645138 100644 --- a/lnbits/core/services.py +++ b/lnbits/core/services.py @@ -432,7 +432,6 @@ async def check_admin_settings(): for key, value in settings.dict(exclude_none=True).items(): logger.debug(f"{key}: {value}") - http = "https" if settings.lnbits_force_https else "http" admin_url = ( f"http://{settings.host}:{settings.port}/wallet?usr={settings.super_user}" )