mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-30 14:06:28 +02:00
Merge pull request #1403 from lnbits/superurlfix
Changes https for http in super user link
This commit is contained in:
@@ -432,9 +432,8 @@ 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}"
|
||||
f"http://{settings.host}:{settings.port}/wallet?usr={settings.super_user}"
|
||||
)
|
||||
logger.success(f"✔️ Access super user account at: {admin_url}")
|
||||
|
||||
|
Reference in New Issue
Block a user