From a54ac0b3daa52d73317a34d75e63add772fab635 Mon Sep 17 00:00:00 2001 From: Son NK <> Date: Thu, 9 Apr 2020 22:18:03 +0200 Subject: [PATCH] Add LANDING_PAGE_URL param --- app/config.py | 2 ++ example.env | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/config.py b/app/config.py index 41cd737d..1dd56665 100644 --- a/app/config.py +++ b/app/config.py @@ -221,3 +221,5 @@ if LOCAL_FILE_UPLOAD: if not os.path.exists(UPLOAD_DIR): print("Create upload dir") os.makedirs(UPLOAD_DIR) + +LANDING_PAGE_URL = os.environ.get("LANDING_PAGE_URL") or "https://simplelogin.io" \ No newline at end of file diff --git a/example.env b/example.env index 56cdd55f..a9b29f9e 100644 --- a/example.env +++ b/example.env @@ -116,4 +116,7 @@ FACEBOOK_CLIENT_SECRET=to_fill # By default, files are uploaded to s3 # Set this variable to use the local "static/upload/" directory instead -# LOCAL_FILE_UPLOAD=true \ No newline at end of file +# LOCAL_FILE_UPLOAD=true + +# The landing page +# LANDING_PAGE_URL=https://simplelogin.io \ No newline at end of file