diff --git a/main.py b/main.py index 2909975..72aa371 100644 --- a/main.py +++ b/main.py @@ -24,7 +24,8 @@ CONFIGS = { # "ENV": "development", # "DEBUG": True, "SECRET_KEY": os.urandom(30), # Set the secret key for session authentication - "PERMANENT_SESSION_LIFETIME": timedelta(minutes=60) + "PERMANENT_SESSION_LIFETIME": timedelta(minutes=60), + "PREFERRED_URL_SCHEME" : 'https' } SQL_CONFIG = dict( database= os.getenv("PGDATABASE"), diff --git a/templates/base.html b/templates/base.html index 9603407..fca5ebc 100644 --- a/templates/base.html +++ b/templates/base.html @@ -5,7 +5,7 @@ {% block title %}NTHU Trading Platform{% endblock title%} - +