Add LANDING_PAGE_URL param

This commit is contained in:
Son NK 2020-04-09 22:18:03 +02:00
parent 4789e439db
commit a54ac0b3da
2 changed files with 6 additions and 1 deletions

View File

@ -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"

View File

@ -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
# LOCAL_FILE_UPLOAD=true
# The landing page
# LANDING_PAGE_URL=https://simplelogin.io