Skip to content

Commit

Permalink
feat: added LEAN_APP_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
kemboi22 committed Aug 18, 2024
1 parent 1b16f75 commit 91b17c6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import agent
# If parsing fails, output everything to stderr
data = json.load(sys.stdin)
host = data.get("host")
LEAN_API_URL = f"https://{host}"
LEAN_APP_URL = f"https://{host}"
#This is specific to you module, so you need to change it accordingly.
rdb = agent.redis_connect(use_replica=True)
smtp_settings = agent.get_smarthost_settings(rdb)
Expand All @@ -38,7 +38,7 @@ lean_time = {
"LEAN_EMAIL_SMTP_SECURE": SMTP_ENCRYPTION,
"LEAN_EMAIL_SMTP_SSLNOVERIFY": 'false',
"LEAN_EMAIL_SMTP_PORT": SMTP_PORT,
"LEAN_API_URL": LEAN_API_URL
"LEAN_APP_URL ": LEAN_APP_URL
}
agent.write_envfile("leantime.env", lean_time)
#agent.dump_env()

0 comments on commit 91b17c6

Please sign in to comment.