mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-20 10:34:20 +01:00
ssl
This commit is contained in:
@@ -17,7 +17,10 @@ MINT_SERVER_PORT = env.int("MINT_SERVER_PORT", default=3338)
|
||||
MINT_HOST = env.str("MINT_HOST", default="127.0.0.1")
|
||||
MINT_PORT = env.int("MINT_PORT", default=3338)
|
||||
|
||||
MINT_URL = f"http://{MINT_HOST}:{MINT_PORT}"
|
||||
if MINT_HOST in ["localhost", "127.0.0.1"]:
|
||||
MINT_URL = f"http://{MINT_HOST}:{MINT_PORT}"
|
||||
else:
|
||||
MINT_URL = f"https://{MINT_HOST}:{MINT_PORT}"
|
||||
|
||||
LNBITS_ENDPOINT = env.str("LNBITS_ENDPOINT", default=None)
|
||||
LNBITS_KEY = env.str("LNBITS_KEY", default=None)
|
||||
|
||||
Reference in New Issue
Block a user