mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-03-10 17:26:15 +01:00
Merge pull request #1403 from lnbits/superurlfix
Changes https for http in super user link
This commit is contained in:
commit
e8f78307f3
1 changed files with 1 additions and 2 deletions
|
@ -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}")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue